ARM: dts: stm32mp1: sync device tree with v5.2-rc4
[oweals/u-boot.git] / arch / arm / dts / stm32mp157a-dk1.dts
index b8dd4baec5a6a0e68a687cc7c860f03684c1e078..adb24649209c77906502bc1fb80459efbcfa7afd 100644 (file)
        };
 };
 
+&cec {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&cec_pins_b>;
+       pinctrl-1 = <&cec_pins_sleep_b>;
+       status = "okay";
+};
+
 &ethernet0 {
        status = "okay";
        pinctrl-0 = <&ethernet0_rgmii_pins_a>;
        pinctrl-1 = <&ethernet0_rgmii_pins_sleep_a>;
        pinctrl-names = "default", "sleep";
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        max-speed = <1000>;
        phy-handle = <&phy0>;
 
        };
 };
 
+
 &i2c4 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c4_pins_a>;
        i2c-scl-rising-time-ns = <185>;
        i2c-scl-falling-time-ns = <20>;
        status = "okay";
+       /* spare dmas for other usage */
        /delete-property/dmas;
        /delete-property/dma-names;
 
        pmic: stpmic@33 {
                compatible = "st,stpmic1";
                reg = <0x33>;
+               interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
                interrupt-controller;
                #interrupt-cells = <2>;
                status = "okay";
 
-               st,main-control-register = <0x04>;
-               st,vin-control-register = <0xc0>;
-               st,usb-control-register = <0x20>;
-
                regulators {
                        compatible = "st,stpmic1-regulators";
-
                        ldo1-supply = <&v3v3>;
                        ldo3-supply = <&vdd_ddr>;
                        ldo6-supply = <&v3v3>;
 
                        vddcore: buck1 {
                                regulator-name = "vddcore";
-                               regulator-min-microvolt = <1200000>;
+                               regulator-min-microvolt = <800000>;
                                regulator-max-microvolt = <1350000>;
                                regulator-always-on;
                                regulator-initial-mode = <0>;
                                regulator-max-microvolt = <1200000>;
                                regulator-always-on;
                                interrupts = <IT_CURLIM_LDO6 0>;
-
                        };
 
                        vref_ddr: vref_ddr {
                        vbus_otg: pwr_sw1 {
                                regulator-name = "vbus_otg";
                                interrupts = <IT_OCP_OTG 0>;
-                               regulator-active-discharge;
                         };
 
                         vbus_sw: pwr_sw2 {
 
                onkey {
                        compatible = "st,stpmic1-onkey";
-                       interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
+                       interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
                        interrupt-names = "onkey-falling", "onkey-rising";
+                       power-off-time-sec = <10>;
                        status = "okay";
                };
 
 };
 
 &sdmmc1 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "opendrain", "sleep";
        pinctrl-0 = <&sdmmc1_b4_pins_a>;
+       pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
+       pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
        broken-cd;
        st,neg-edge;
        bus-width = <4>;