18c2ecf20Sopenharmony_ciRaspberry Pi power domain driver
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci- compatible:		Should be "raspberrypi,bcm2835-power".
68c2ecf20Sopenharmony_ci- firmware:		Reference to the RPi firmware device node.
78c2ecf20Sopenharmony_ci- #power-domain-cells:	Should be <1>, we providing multiple power domains.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciThe valid defines for power domain are:
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_I2C0
128c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_I2C1
138c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_I2C2
148c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_VIDEO_SCALER
158c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_VPU1
168c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_HDMI
178c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_USB
188c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_VEC
198c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_JPEG
208c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_H264
218c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_V3D
228c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_ISP
238c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_UNICAM0
248c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_UNICAM1
258c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_CCP2RX
268c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_CSI2
278c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_CPI
288c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_DSI0
298c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_DSI1
308c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_TRANSPOSER
318c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_CCP2TX
328c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_CDP
338c2ecf20Sopenharmony_ci RPI_POWER_DOMAIN_ARM
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciExample:
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_cipower: power {
388c2ecf20Sopenharmony_ci	compatible = "raspberrypi,bcm2835-power";
398c2ecf20Sopenharmony_ci	firmware = <&firmware>;
408c2ecf20Sopenharmony_ci	#power-domain-cells = <1>;
418c2ecf20Sopenharmony_ci};
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciExample for using power domain:
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci&usb {
468c2ecf20Sopenharmony_ci       power-domains = <&power RPI_POWER_DOMAIN_USB>;
478c2ecf20Sopenharmony_ci};
48