Skip to content

Commit 28075d9

Browse files
Yemike-Abhilash-Chandragregkh
authored andcommitted
arm64: dts: ti: k3-j721e-sk: Add DT nodes for power regulators
commit 97b67cc102dc2cc8aa39a569c22a196e21af5a21 upstream. Add device tree nodes for two power regulators on the J721E SK board. vsys_5v0: A fixed regulator representing the 5V supply output from the LM61460 and vdd_sd_dv: A GPIO-controlled TLV71033 regulator. J721E-SK schematics: https://www.ti.com/lit/zip/sprr438 Fixes: 1bfda92 ("arm64: dts: ti: Add support for J721E SK") Cc: [email protected] Signed-off-by: Yemike Abhilash Chandra <[email protected]> Reviewed-by: Udit Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dfc7417 commit 28075d9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

arch/arm64/boot/dts/ti/k3-j721e-sk.dts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,17 @@
175175
regulator-boot-on;
176176
};
177177

178+
vsys_5v0: fixedregulator-vsys5v0 {
179+
/* Output of LM61460 */
180+
compatible = "regulator-fixed";
181+
regulator-name = "vsys_5v0";
182+
regulator-min-microvolt = <5000000>;
183+
regulator-max-microvolt = <5000000>;
184+
vin-supply = <&vusb_main>;
185+
regulator-always-on;
186+
regulator-boot-on;
187+
};
188+
178189
vdd_mmc1: fixedregulator-sd {
179190
compatible = "regulator-fixed";
180191
pinctrl-names = "default";
@@ -202,6 +213,20 @@
202213
<3300000 0x1>;
203214
};
204215

216+
vdd_sd_dv: gpio-regulator-TLV71033 {
217+
compatible = "regulator-gpio";
218+
pinctrl-names = "default";
219+
pinctrl-0 = <&vdd_sd_dv_pins_default>;
220+
regulator-name = "tlv71033";
221+
regulator-min-microvolt = <1800000>;
222+
regulator-max-microvolt = <3300000>;
223+
regulator-boot-on;
224+
vin-supply = <&vsys_5v0>;
225+
gpios = <&main_gpio0 118 GPIO_ACTIVE_HIGH>;
226+
states = <1800000 0x0>,
227+
<3300000 0x1>;
228+
};
229+
205230
dp_pwr_3v3: fixedregulator-dp-prw {
206231
compatible = "regulator-fixed";
207232
regulator-name = "dp-pwr";
@@ -455,6 +480,12 @@
455480
>;
456481
};
457482

483+
vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
484+
pinctrl-single,pins = <
485+
J721E_IOPAD(0x1dc, PIN_OUTPUT, 7) /* (Y1) SPI1_CLK.GPIO0_118 */
486+
>;
487+
};
488+
458489
wkup_i2c0_pins_default: wkup-i2c0-pins-default {
459490
pinctrl-single,pins = <
460491
J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */

0 commit comments

Comments
 (0)