Skip to content

Commit

Permalink
ARM: dts: rockchip: Add the iodomains for the Rock2 SOM
Browse files Browse the repository at this point in the history
Add the IO domain configuration for the Rock2 SOM and model the fixed
regulator used as the vqmmc for the EMMC device.

Signed-off-by: Sjoerd Simons <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
  • Loading branch information
sjoerdsimons authored and mmind committed Jan 24, 2016
1 parent cab6f07 commit 30c4cbc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/rk3288-rock2-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,31 @@
clock-output-names = "ext_gmac";
};

io_domains: io-domains {
compatible = "rockchip,rk3288-io-voltage-domain";
rockchip,grf = <&grf>;

audio-supply = <&vcc_io>;
bb-supply = <&vcc_io>;
dvp-supply = <&vcc_18>;
flash0-supply = <&vcc_flash>;
flash1-supply = <&vccio_pmu>;
gpio30-supply = <&vccio_pmu>;
gpio1830 = <&vcc_io>;
lcdc-supply = <&vcc_io>;
sdcard-supply = <&vccio_sd>;
wifi-supply = <&vcc_18>;
};

vcc_flash: flash-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <150>;
vin-supply = <&vcc_io>;
};

vcc_sys: vsys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
Expand All @@ -85,6 +110,7 @@
pinctrl-names = "default";
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
vmmc-supply = <&vcc_io>;
vqmmc-supply = <&vcc_flash>;
status = "okay";
};

Expand Down

0 comments on commit 30c4cbc

Please sign in to comment.