Commit cd042fe5 authored by Balaji T K's avatar Balaji T K Committed by Chris Ball

ARM: dts: add pbias dt node

Add pbias regulator node as a child of system control
module - syscon.
Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Tested-by: default avatarFlorian Vaussard <florian.vaussard@epfl.ch>
Tested-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarChris Ball <chris@printf.net>
parent e99448ff
...@@ -149,6 +149,22 @@ counter32k: counter@4ae04000 { ...@@ -149,6 +149,22 @@ counter32k: counter@4ae04000 {
ti,hwmods = "counter_32k"; ti,hwmods = "counter_32k";
}; };
dra7_ctrl_general: tisyscon@4a002e00 {
compatible = "syscon";
reg = <0x4a002e00 0x7c>;
};
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0 0x4>;
syscon = <&dra7_ctrl_general>;
pbias_mmc_reg: pbias_mmc_omap5 {
regulator-name = "pbias_mmc_omap5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
dra7_pmx_core: pinmux@4a003400 { dra7_pmx_core: pinmux@4a003400 {
compatible = "pinctrl-single"; compatible = "pinctrl-single";
reg = <0x4a003400 0x0464>; reg = <0x4a003400 0x0464>;
...@@ -524,6 +540,7 @@ mmc1: mmc@4809c000 { ...@@ -524,6 +540,7 @@ mmc1: mmc@4809c000 {
dmas = <&sdma 61>, <&sdma 62>; dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
status = "disabled"; status = "disabled";
pbias-supply = <&pbias_mmc_reg>;
}; };
mmc2: mmc@480b4000 { mmc2: mmc@480b4000 {
......
...@@ -29,6 +29,22 @@ omap2430_pmx: pinmux@49002030 { ...@@ -29,6 +29,22 @@ omap2430_pmx: pinmux@49002030 {
pinctrl-single,function-mask = <0x3f>; pinctrl-single,function-mask = <0x3f>;
}; };
omap2_scm_general: tisyscon@49002270 {
compatible = "syscon";
reg = <0x49002270 0x240>;
};
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0x230 0x4>;
syscon = <&omap2_scm_general>;
pbias_mmc_reg: pbias_mmc_omap2430 {
regulator-name = "pbias_mmc_omap2430";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
gpio1: gpio@4900c000 { gpio1: gpio@4900c000 {
compatible = "ti,omap2-gpio"; compatible = "ti,omap2-gpio";
reg = <0x4900c000 0x200>; reg = <0x4900c000 0x200>;
...@@ -183,6 +199,7 @@ mmc1: mmc@4809c000 { ...@@ -183,6 +199,7 @@ mmc1: mmc@4809c000 {
ti,dual-volt; ti,dual-volt;
dmas = <&sdma 61>, <&sdma 62>; dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
pbias-supply = <&pbias_mmc_reg>;
}; };
mmc2: mmc@480b4000 { mmc2: mmc@480b4000 {
......
...@@ -176,6 +176,22 @@ omap3_pmx_wkup: pinmux@48002a00 { ...@@ -176,6 +176,22 @@ omap3_pmx_wkup: pinmux@48002a00 {
pinctrl-single,function-mask = <0xff1f>; pinctrl-single,function-mask = <0xff1f>;
}; };
omap3_scm_general: tisyscon@48002270 {
compatible = "syscon";
reg = <0x48002270 0x2f0>;
};
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0x2b0 0x4>;
syscon = <&omap3_scm_general>;
pbias_mmc_reg: pbias_mmc_omap2430 {
regulator-name = "pbias_mmc_omap2430";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
gpio1: gpio@48310000 { gpio1: gpio@48310000 {
compatible = "ti,omap3-gpio"; compatible = "ti,omap3-gpio";
reg = <0x48310000 0x200>; reg = <0x48310000 0x200>;
...@@ -390,6 +406,7 @@ mmc1: mmc@4809c000 { ...@@ -390,6 +406,7 @@ mmc1: mmc@4809c000 {
ti,dual-volt; ti,dual-volt;
dmas = <&sdma 61>, <&sdma 62>; dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
pbias-supply = <&pbias_mmc_reg>;
}; };
mmc2: mmc@480b4000 { mmc2: mmc@480b4000 {
......
...@@ -186,6 +186,22 @@ omap4_pmx_wkup: pinmux@4a31e040 { ...@@ -186,6 +186,22 @@ omap4_pmx_wkup: pinmux@4a31e040 {
pinctrl-single,function-mask = <0x7fff>; pinctrl-single,function-mask = <0x7fff>;
}; };
omap4_padconf_global: tisyscon@4a1005a0 {
compatible = "syscon";
reg = <0x4a1005a0 0x170>;
};
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0x60 0x4>;
syscon = <&omap4_padconf_global>;
pbias_mmc_reg: pbias_mmc_omap4 {
regulator-name = "pbias_mmc_omap4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
sdma: dma-controller@4a056000 { sdma: dma-controller@4a056000 {
compatible = "ti,omap4430-sdma"; compatible = "ti,omap4430-sdma";
reg = <0x4a056000 0x1000>; reg = <0x4a056000 0x1000>;
...@@ -419,6 +435,7 @@ mmc1: mmc@4809c000 { ...@@ -419,6 +435,7 @@ mmc1: mmc@4809c000 {
ti,needs-special-reset; ti,needs-special-reset;
dmas = <&sdma 61>, <&sdma 62>; dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
pbias-supply = <&pbias_mmc_reg>;
}; };
mmc2: mmc@480b4000 { mmc2: mmc@480b4000 {
......
...@@ -192,6 +192,22 @@ omap5_pmx_wkup: pinmux@4ae0c840 { ...@@ -192,6 +192,22 @@ omap5_pmx_wkup: pinmux@4ae0c840 {
pinctrl-single,function-mask = <0x7fff>; pinctrl-single,function-mask = <0x7fff>;
}; };
omap5_padconf_global: tisyscon@4a002da0 {
compatible = "syscon";
reg = <0x4A002da0 0xec>;
};
pbias_regulator: pbias_regulator {
compatible = "ti,pbias-omap";
reg = <0x60 0x4>;
syscon = <&omap5_padconf_global>;
pbias_mmc_reg: pbias_mmc_omap5 {
regulator-name = "pbias_mmc_omap5";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3000000>;
};
};
sdma: dma-controller@4a056000 { sdma: dma-controller@4a056000 {
compatible = "ti,omap4430-sdma"; compatible = "ti,omap4430-sdma";
reg = <0x4a056000 0x1000>; reg = <0x4a056000 0x1000>;
...@@ -471,6 +487,7 @@ mmc1: mmc@4809c000 { ...@@ -471,6 +487,7 @@ mmc1: mmc@4809c000 {
ti,needs-special-reset; ti,needs-special-reset;
dmas = <&sdma 61>, <&sdma 62>; dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
pbias-supply = <&pbias_mmc_reg>;
}; };
mmc2: mmc@480b4000 { mmc2: mmc@480b4000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment