From: "Andrii.Tseglytskyi" <andrii.tseglytskyi@xxxxxx> Add DT ABB data for OMAP44xx family of devices. Data is based on OMAP44xx TRM document. Signed-off-by: Andrii.Tseglytskyi <andrii.tseglytskyi@xxxxxx> --- arch/arm/boot/dts/omap4.dtsi | 22 ++++++++++++++++++++++ arch/arm/boot/dts/omap443x.dtsi | 23 +++++++++++++++++++++++ arch/arm/boot/dts/omap446x.dtsi | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 arch/arm/boot/dts/omap446x.dtsi diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 2a56428..8a98002 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -81,6 +81,28 @@ }; }; + abb_mpu: regulator-abb1 { + compatible = "ti,omap4-abb"; + regulator-name = "abb_mpu"; + regulator-always-on; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x4a307bd0 0x8>, + <0x4a306014 0x4>; + ti,tranxdone_status_mask = <0x80>; + }; + + abb_iva: regulator-abb2 { + compatible = "ti,omap4-abb"; + regulator-name = "abb_iva"; + regulator-always-on; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x4a307bd8 0x8>, + <0x4a306010 0x4>; + ti,tranxdone_status_mask = <0x80000000>; + }; + /* * XXX: Use a flat representation of the OMAP4 interconnect. * The real OMAP interconnect network is quite complex. diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index cccf39a..044b54c 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -24,4 +24,27 @@ clock-latency = <300000>; /* From legacy driver */ }; }; + + abb_mpu: regulator-abb1 { + regulator-min-microvolt = <1025000>; + regulator-max-microvolt = <1375000>; + operating-points = < + /* uV ABB */ + 1025000 0 + 1200000 0 + 1313000 0 + 1375000 1 + >; + }; + + abb_iva: regulator-abb2 { + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1291000>; + operating-points = < + /* uV ABB */ + 950000 0 + 1114000 0 + 1291000 0 + >; + }; }; diff --git a/arch/arm/boot/dts/omap446x.dtsi b/arch/arm/boot/dts/omap446x.dtsi new file mode 100644 index 0000000..3c81d3b --- /dev/null +++ b/arch/arm/boot/dts/omap446x.dtsi @@ -0,0 +1,39 @@ +/* + * Device Tree Source for OMAP446x SoC + * + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/include/ "omap4.dtsi" + +/ { + abb_mpu: regulator-abb1 { + regulator-min-microvolt = <1025000>; + regulator-max-microvolt = <1390000>; + operating-points = < + /* uV ABB */ + 1025000 0 + 1203000 0 + 1317000 0 + 1380000 1 + 1390000 1 + >; + }; + + abb_iva: regulator-abb2 { + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1376000>; + operating-points = < + /* uV ABB */ + 950000 0 + 1140000 0 + 1291000 0 + 1375000 1 + 1376000 1 + >; + }; +}; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html