]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - src/arm64/ti/k3-am69-sk.dts
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm64 / ti / k3-am69-sk.dts
index 9868c7049bfb9f2ccc0385a2e2f8c33bcd3a6f59..8da5915798688a5fb3016990079b848d083e0c11 100644 (file)
 
 &wkup_pmx2 {
        bootph-all;
+       pmic_irq_pins_default: pmic-irq-default-pins {
+               pinctrl-single,pins = <
+                       /* (AA37) MCU_ADC1_AIN4.WKUP_GPIO0_83 */
+                       J784S4_WKUP_IOPAD(0x0fc, PIN_INPUT, 7)
+               >;
+       };
+
        wkup_uart0_pins_default: wkup-uart0-default-pins {
                bootph-all;
                pinctrl-single,pins = <
                compatible = "atmel,24c512";
                reg = <0x51>;
        };
+
+       tps659413: pmic@48 {
+               compatible = "ti,tps6594-q1";
+               reg = <0x48>;
+               system-power-controller;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pmic_irq_pins_default>;
+               interrupt-parent = <&wkup_gpio0>;
+               interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ti,primary-pmic;
+               buck12-supply = <&vsys_3v3>;
+               buck3-supply = <&vsys_3v3>;
+               buck4-supply = <&vsys_3v3>;
+               buck5-supply = <&vsys_3v3>;
+               ldo1-supply = <&vsys_3v3>;
+               ldo2-supply = <&vsys_3v3>;
+               ldo3-supply = <&vsys_3v3>;
+               ldo4-supply = <&vsys_3v3>;
+
+               regulators {
+                       bucka12: buck12 {
+                               regulator-name = "vdd_ddr_1v1";
+                               regulator-min-microvolt = <1100000>;
+                               regulator-max-microvolt = <1100000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       bucka3: buck3 {
+                               regulator-name = "vdd_ram_0v85";
+                               regulator-min-microvolt = <850000>;
+                               regulator-max-microvolt = <850000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       bucka4: buck4 {
+                               regulator-name = "vdd_io_1v8";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       bucka5: buck5 {
+                               regulator-name = "vdd_mcu_0v85";
+                               regulator-min-microvolt = <850000>;
+                               regulator-max-microvolt = <850000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       ldoa1: ldo1 {
+                               regulator-name = "vdd_mcuio_1v8";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       ldoa2: ldo2 {
+                               regulator-name = "vdd_mcuio_3v3";
+                               regulator-min-microvolt = <3300000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       ldoa3: ldo3 {
+                               regulator-name = "vds_dll_0v8";
+                               regulator-min-microvolt = <800000>;
+                               regulator-max-microvolt = <800000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+
+                       ldoa4: ldo4 {
+                               regulator-name = "vda_mcu_1v8";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-boot-on;
+                               regulator-always-on;
+                       };
+               };
+       };
 };
 
 &wkup_gpio0 {
                reg = <0x21>;
                gpio-controller;
                #gpio-cells = <2>;
-               gpio-line-names = "BOARDID_EEPROM_WP", "CAN_STB", "GPIO_uSD_PWR_EN",
+               gpio-line-names = "BOARDID_EEPROM_WP", "CAN_STB", "GPIO_uSD_PWR_EN",
                                "IO_EXP_MCU_RGMII_RST#", "IO_EXP_PCIe0_4L_PERST#",
                                "IO_EXP_PCIe1_M.2_RTSz", "IO_EXP_PCIe3_M.2_RTSz",
                                "PM_INA_BUS_EN", "ENET1_EXP_PWRDN", "EXP1_ENET_RSTz",