fdt: update bcm283x device tree sources to Linux 5.1-rc6 state
[platform/kernel/u-boot.git] / arch / arm / dts / bcm2835-rpi-a-plus.dts
index 9f86649..db8a601 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /dts-v1/;
 #include "bcm2835.dtsi"
 #include "bcm2835-rpi.dtsi"
 
        leds {
                act {
-                       gpios = <&gpio 47 0>;
+                       gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
                };
 
                pwr {
                        label = "PWR";
-                       gpios = <&gpio 35 0>;
+                       gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
                        default-state = "keep";
                        linux,default-trigger = "default-on";
                };
@@ -30,8 +31,8 @@
         * "FOO" = GPIO line named "FOO" on the schematic
         * "FOO_N" = GPIO line named "FOO" on schematic, active low
         */
-       gpio-line-names = "SDA0",
-                         "SCL0",
+       gpio-line-names = "ID_SDA",
+                         "ID_SCL",
                          "SDA1",
                          "SCL1",
                          "GPIO_GCLK",
        hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
 };
 
+&pwm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_gpio14>;