forked from luck/tmp_suning_uos_patched
ARM: dts: imx7-colibri: add Carrier Board 3.3V/5V regulators
Model the Carrier Board power distribution by adding a fixed 3.3V and 5V regulator. The 3.3V regulator is connected to the backlight as well as the display supply. The 5V regulator is used to supply USB VBUS. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
c9171bb5a9
commit
746380186d
|
@ -48,6 +48,7 @@ chosen {
|
|||
panel: panel {
|
||||
compatible = "edt,et057090dhu";
|
||||
backlight = <&bl>;
|
||||
power-supply = <®_3v3>;
|
||||
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
|
@ -55,11 +56,27 @@ panel_in: endpoint {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
reg_3v3: regulator-3v3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "3.3V";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
reg_5v0: regulator-5v0 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "5V";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&bl {
|
||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <6>;
|
||||
power-supply = <®_3v3>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
|
|||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
|
||||
vin-supply = <®_5v0>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user