| From 95486f96845e1be64df60ea8cd5f1a8ca9ecd2ab Mon Sep 17 00:00:00 2001 |
| From: Kishon Vijay Abraham I <kishon@ti.com> |
| Date: Tue, 17 Dec 2019 14:21:24 +0530 |
| Subject: [PATCH] ARM: dts: beagle-x15-common: Model 5V0 regulator |
| |
| commit e17e7c498d4f734df93c300441e100818ed58168 upstream. |
| |
| On am57xx-beagle-x15, 5V0 is connected to P16, P17, P18 and P19 |
| connectors. On am57xx-evm, 5V0 regulator is used to get 3V6 regulator |
| which is connected to the COMQ port. Model 5V0 regulator here in order |
| for it to be used in am57xx-evm to model 3V6 regulator. |
| |
| Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> |
| Signed-off-by: Tony Lindgren <tony@atomide.com> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi |
| index 9a94c96b0350..a813a0cf3ff3 100644 |
| --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi |
| +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi |
| @@ -29,6 +29,27 @@ |
| reg = <0x0 0x80000000 0x0 0x80000000>; |
| }; |
| |
| + main_12v0: fixedregulator-main_12v0 { |
| + /* main supply */ |
| + compatible = "regulator-fixed"; |
| + regulator-name = "main_12v0"; |
| + regulator-min-microvolt = <12000000>; |
| + regulator-max-microvolt = <12000000>; |
| + regulator-always-on; |
| + regulator-boot-on; |
| + }; |
| + |
| + evm_5v0: fixedregulator-evm_5v0 { |
| + /* Output of TPS54531D */ |
| + compatible = "regulator-fixed"; |
| + regulator-name = "evm_5v0"; |
| + regulator-min-microvolt = <5000000>; |
| + regulator-max-microvolt = <5000000>; |
| + vin-supply = <&main_12v0>; |
| + regulator-always-on; |
| + regulator-boot-on; |
| + }; |
| + |
| vdd_3v3: fixedregulator-vdd_3v3 { |
| compatible = "regulator-fixed"; |
| regulator-name = "vdd_3v3"; |
| -- |
| 2.7.4 |
| |