Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cde305e9 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx23-evk: Move regulators outside simple-bus



It is recommended to place regulators outside simple-bus, so move them
accordingly.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c1539840
Loading
Loading
Loading
Loading
+17 −25
Original line number Original line Diff line number Diff line
@@ -13,6 +13,23 @@
		reg = <0x40000000 0x08000000>;
		reg = <0x40000000 0x08000000>;
	};
	};


	reg_vddio_sd0: regulator-vddio-sd0 {
		compatible = "regulator-fixed";
		regulator-name = "vddio-sd0";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio1 29 0>;
	};

	reg_lcd_3v3: regulator-lcd-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "lcd-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio1 18 0>;
		enable-active-high;
	};

	apb@80000000 {
	apb@80000000 {
		apbh@80000000 {
		apbh@80000000 {
			gpmi-nand@8000c000 {
			gpmi-nand@8000c000 {
@@ -118,31 +135,6 @@
		};
		};
	};
	};


	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_vddio_sd0: regulator@0 {
			compatible = "regulator-fixed";
			reg = <0>;
			regulator-name = "vddio-sd0";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			gpio = <&gpio1 29 0>;
		};

		reg_lcd_3v3: regulator@1 {
			compatible = "regulator-fixed";
			reg = <1>;
			regulator-name = "lcd-3v3";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			gpio = <&gpio1 18 0>;
			enable-active-high;
		};
	};

	backlight {
	backlight {
		compatible = "pwm-backlight";
		compatible = "pwm-backlight";
		pwms = <&pwm 2 5000000>;
		pwms = <&pwm 2 5000000>;