Skip to content

Commit 998ad09

Browse files
uditkumartinmenon
authored andcommitted
arm64: dts: ti: k3-j722s-evm: Enable PMIC
Add support for TPS6522x PMIC family on wakeup I2C0 bus. This device provides regulators (bucks and LDOs), along with GPIOs, and monitors SOC's MCU error signal. Signed-off-by: Udit Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
1 parent ff7b5e9 commit 998ad09

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

arch/arm64/boot/dts/ti/k3-j722s-evm.dts

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,13 @@
359359
J722S_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (N24) GPMC0_WPn.AUDIO_EXT_REFCLK1 */
360360
>;
361361
};
362+
363+
pmic_irq_pins_default: pmic-irq-default-pins {
364+
pinctrl-single,pins = <
365+
J722S_IOPAD(0x030, PIN_INPUT, 7) /* (K23) GPIO0_12 */
366+
>;
367+
};
368+
362369
};
363370

364371
&cpsw3g {
@@ -466,6 +473,87 @@
466473
clock-frequency = <400000>;
467474
status = "okay";
468475
bootph-all;
476+
477+
tps65224: pmic@48 {
478+
compatible = "ti,tps65224-q1";
479+
reg = <0x48>;
480+
pinctrl-names = "default";
481+
pinctrl-0 = <&pmic_irq_pins_default>;
482+
interrupt-parent = <&main_gpio0>;
483+
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
484+
ti,primary-pmic;
485+
486+
gpio-controller;
487+
#gpio-cells = <2>;
488+
489+
buck12-supply = <&vsys_io_3v3>;
490+
buck3-supply = <&vsys_io_3v3>;
491+
buck4-supply = <&vsys_io_3v3>;
492+
493+
ldo1-supply = <&vsys_io_3v3>;
494+
ldo2-supply = <&vsys_io_3v3>;
495+
ldo3-supply = <&vsys_io_3v3>;
496+
497+
regulators {
498+
499+
buck1: buck1 {
500+
regulator-name = "vcc1v8_io_buck1";
501+
regulator-min-microvolt = <1800000>;
502+
regulator-max-microvolt = <1800000>;
503+
regulator-boot-on;
504+
regulator-always-on;
505+
bootph-all;
506+
};
507+
508+
buck2: buck2 {
509+
regulator-name = "vcc1v1_ddr_buck2";
510+
regulator-min-microvolt = <1100000>;
511+
regulator-max-microvolt = <1100000>;
512+
regulator-boot-on;
513+
regulator-always-on;
514+
};
515+
516+
buck3: buck3 {
517+
regulator-name = "vcc0v85_ram_buck3";
518+
regulator-min-microvolt = <850000>;
519+
regulator-max-microvolt = <850000>;
520+
regulator-boot-on;
521+
regulator-always-on;
522+
};
523+
524+
buck4: buck4 {
525+
regulator-name = "vcc0v75_ioret_buck4";
526+
regulator-min-microvolt = <750000>;
527+
regulator-max-microvolt = <750000>;
528+
regulator-boot-on;
529+
regulator-always-on;
530+
};
531+
532+
ldo1: ldo1 {
533+
regulator-name = "vdda1v8_pll_ldo1";
534+
regulator-min-microvolt = <1800000>;
535+
regulator-max-microvolt = <1800000>;
536+
regulator-boot-on;
537+
regulator-always-on;
538+
};
539+
540+
ldo2: ldo2 {
541+
regulator-name = "dvdd3v3_ldo2";
542+
regulator-min-microvolt = <3300000>;
543+
regulator-max-microvolt = <3300000>;
544+
regulator-boot-on;
545+
regulator-always-on;
546+
};
547+
548+
ldo3: ldo3 {
549+
regulator-name = "vdd1v85_phy_ldo3";
550+
regulator-min-microvolt = <1800000>;
551+
regulator-max-microvolt = <1800000>;
552+
regulator-boot-on;
553+
regulator-always-on;
554+
};
555+
};
556+
};
469557
};
470558

471559
&k3_clks {

0 commit comments

Comments
 (0)