]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-r5-common: Add tps65941 node and dependent wkup_i2c0 node
authorKeerthy <j-keerthy@ti.com>
Thu, 24 Oct 2019 09:30:59 +0000 (15:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 7 Nov 2019 23:39:17 +0000 (18:39 -0500)
Add tps65941 node and dependent wkup_i2c0 node needed for AVS class 0 support

Signed-off-by: Keerthy <j-keerthy@ti.com>
arch/arm/dts/k3-j721e-mcu-wakeup.dtsi
arch/arm/dts/k3-j721e-r5-common-proc-board.dts

index 92beeea34dbaf399f99a4c35086b85c282003850..5dd07ac4daf7380ba8897332506d47bc1f30cb06 100644 (file)
                clock-names = "fclk";
        };
 
+       wkup_i2c0: i2c@42120000 {
+               compatible = "ti,j721e-i2c", "ti,omap4-i2c";
+               reg = <0x0 0x42120000 0x0 0x100>;
+               interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               clock-names = "fck";
+               clocks = <&k3_clks 197 0>;
+               power-domains = <&k3_pds 197 TI_SCI_PD_EXCLUSIVE>;
+       };
+
        mcu_uart0: serial@40a00000 {
                compatible = "ti,j721e-uart", "ti,am654-uart";
                reg = <0x00 0x40a00000 0x00 0x100>;
index e569809fcb2ff22b42ed81569e382a2e688784df..165c38da4bbc93371901228acabfd115df2a084e 100644 (file)
                        J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
                >;
        };
+
+       wkup_i2c0_pins_default: wkup-i2c0-pins-default {
+               pinctrl-single,pins = <
+                       J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
+                       J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
+               >;
+       };
 };
 
 &main_pmx0 {
        ti,driver-strength-ohm = <50>;
 };
 
+&wkup_i2c0 {
+       u-boot,dm-spl;
+       tps659413a: tps659413a@48 {
+               reg = <0x48>;
+               compatible = "ti,tps659413";
+               u-boot,dm-spl;
+               pinctrl-names = "default";
+               pinctrl-0 = <&wkup_i2c0_pins_default>;
+               clock-frequency = <400000>;
+
+               regulators: regulators {
+                       u-boot,dm-spl;
+                       buck12_reg: buck12 {
+                               /*VDD_MPU*/
+                               regulator-name = "buck12";
+                               regulator-min-microvolt = <800000>;
+                               regulator-max-microvolt = <1250000>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                               u-boot,dm-spl;
+                       };
+               };
+       };
+};
+
 #include "k3-j721e-common-proc-board-u-boot.dtsi"