Skip to content

Commit ac253fe

Browse files
sylvioalvesnashif
authored andcommitted
boards: m5stack_core2: fix regulator entry region
BUS_5V regulator is placed in the i2c peripheral, where it does not belong. Move 5V bus regulator to board common definitions. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 198f990 commit ac253fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@
7474
rotation = <0>;
7575
};
7676
};
77+
78+
bus_5v: bus_5v {
79+
compatible = "regulator-fixed";
80+
regulator-name = "bus_5v";
81+
enable-gpios = <&axp192_gpio 5 GPIO_ACTIVE_HIGH>;
82+
};
7783
};
7884

7985
&flash0 {
@@ -182,12 +188,6 @@
182188
};
183189
};
184190

185-
bus_5v: bus_5v {
186-
compatible = "regulator-fixed";
187-
regulator-name = "bus_5v";
188-
enable-gpios = <&axp192_gpio 5 GPIO_ACTIVE_HIGH>;
189-
};
190-
191191
ft5336_touch: ft5336@38 {
192192
compatible = "focaltech,ft5336";
193193
reg = <0x38>;

0 commit comments

Comments
 (0)