summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sx-sabreauto.dts
diff options
context:
space:
mode:
authorShawn Guo <shawnguo@kernel.org>2018-05-04 17:13:28 +0800
committerShawn Guo <shawnguo@kernel.org>2018-05-14 22:07:55 +0800
commit915394db950da544d5b02d4be35a65558a22b619 (patch)
tree794bc927ffb0f9a49f5c87d95deca12ee578f538 /arch/arm/boot/dts/imx6sx-sabreauto.dts
parent4b976ce8c2b6a934c0f905c61b4a1cb30f24ac5c (diff)
downloadop-kernel-dev-915394db950da544d5b02d4be35a65558a22b619.zip
op-kernel-dev-915394db950da544d5b02d4be35a65558a22b619.tar.gz
ARM: dts: imx6sx-sabreauto: drop 'regulators' container node
Let's drop the 'regulators' container node by giving VCC_SD3 an unique name and removing 'reg' property, so that the fixed regulator can be under root node directly. Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sabreauto.dts')
-rw-r--r--arch/arm/boot/dts/imx6sx-sabreauto.dts25
1 files changed, 9 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts
index 57d1ea0..e5c1d6d 100644
--- a/arch/arm/boot/dts/imx6sx-sabreauto.dts
+++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts
@@ -18,22 +18,15 @@
reg = <0x80000000 0x80000000>;
};
- regulators {
- compatible = "simple-bus";
- #address-cells = <1>;
- #size-cells = <0>;
-
- vcc_sd3: regulator@0 {
- compatible = "regulator-fixed";
- reg = <0>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_vcc_sd3>;
- regulator-name = "VCC_SD3";
- regulator-min-microvolt = <3000000>;
- regulator-max-microvolt = <3000000>;
- gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
- enable-active-high;
- };
+ vcc_sd3: regulator-vcc-sd3 {
+ compatible = "regulator-fixed";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_vcc_sd3>;
+ regulator-name = "VCC_SD3";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
};
};
OpenPOWER on IntegriCloud