From 8d0d3ce954e99850cc90eafce5feb27c1e990ba0 Mon Sep 17 00:00:00 2001 From: Andrej Unrau Date: Mon, 11 Mar 2024 16:49:05 +0100 Subject: [PATCH] arm64: dts: k3-am623-pfc: fix PMIC configuration --- arch/arm64/boot/dts/ti/k3-am62x-pfc.dtsi | 58 ++---------------------- 1 file changed, 4 insertions(+), 54 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-pfc.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-pfc.dtsi index b78bd76da2f7..b0ee7b207cd7 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-pfc.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-pfc.dtsi @@ -456,7 +456,6 @@ 0 0 0x00 0x51000000 0x01000000 /* CS0: NVRAM, 16M */ >; - /* TODO: check timings for am62x */ nor@0,0 { /* NVRAM Device 128k */ reg = <0 0 0x01000000>; bank-width = <2>; /* 1: 8bit, 2: 16bit */ @@ -661,6 +660,8 @@ tps65219_30: pmic@30 { compatible = "ti,tps65219"; reg = <0x30>; + system-power-controller; + buck1-supply = <&vcc_5v0>; buck2-supply = <&vcc_5v0>; buck3-supply = <&vcc_5v0>; @@ -672,9 +673,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pmic_irq_pins_default>; - interrupt-parent = <&gic500>; - interrupts = ; - ti,power-button; + interrupt-parent = <&main_gpio0>; + interrupts = <68 IRQ_TYPE_EDGE_FALLING>; regulators { buck1_30_reg: buck1 { @@ -716,56 +716,6 @@ }; }; }; - - // TODO:: we need to disable this pmic as the kernel currently does not - // support dual pmic configurations with the same interrupt source. - // Disabling currently does not hurt as the pmic gets a default - // configuration programmed. - // - // tps65219_31: pmic@31 { - // compatible = "ti,tps65219"; - // reg = <0x31>; - // buck1-supply = <&vcc_5v0>; - // buck2-supply = <&vcc_5v0>; - // buck3-supply = <&vcc_5v0>; - // ldo1-supply = <&vcc_5v0>; - // ldo2-supply = <&vcc_5v0>; - // ldo3-supply = <&vcc_5v0>; - // ldo4-supply = <&vcc_5v0>; - - // pinctrl-names = "default"; - // pinctrl-0 = <&pmic_irq_pins_default>; - // - // interrupt-parent = <&gic500>; - // interrupts = ; - // ti,power-button; - - // regulators { - // buck1_31_reg: buck1 { - // regulator-name = "VDD_1V1"; - // regulator-min-microvolt = <110000>; - // regulator-max-microvolt = <110000>; - // regulator-boot-on; - // regulator-always-on; - // }; - - // buck2_31_reg: buck2 { - // regulator-name = "VDDR_CORE_0V85"; - // regulator-min-microvolt = <850000>; - // regulator-max-microvolt = <850000>; - // regulator-boot-on; - // regulator-always-on; - // }; - - // buck3_31_reg: buck3 { - // regulator-name = "VDDA_2V5"; - // regulator-min-microvolt = <2500000>; - // regulator-max-microvolt = <2500000>; - // regulator-boot-on; - // regulator-always-on; - // }; - // }; - // }; }; &main_spi0 {