ARM: bcm2835: Add VC4 to the device tree.
authorEric Anholt <eric@anholt.net>
Mon, 2 Mar 2015 22:36:16 +0000 (14:36 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 20 Apr 2016 00:31:57 +0000 (17:31 -0700)
VC4 is the GPU (display and 3D) present on the 283x.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
arch/arm/boot/dts/bcm2835-rpi-a.dts
arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
arch/arm/boot/dts/bcm2835-rpi-b.dts
arch/arm/boot/dts/bcm2835-rpi.dtsi
arch/arm/boot/dts/bcm2836-rpi-2-b.dts
arch/arm/boot/dts/bcm283x.dtsi

index 228614ffff448f416fda32a38e18579ef9857fb1..35ff4e7a4aaca7f672428852bb43b221725ae51f 100644 (file)
@@ -29,3 +29,7 @@
                brcm,function = <BCM2835_FSEL_ALT0>;
        };
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+};
index ddbbbbd42ddab75a0661222b452a64442065f994..306a84ee9898b17ae632fe8839633cd133d631ff 100644 (file)
@@ -22,3 +22,7 @@
                brcm,function = <BCM2835_FSEL_ALT2>;
        };
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
+};
index ef5405025223f666f83c541975b768a98da6160d..57d313b6afaf6baeea75ff9894ff700d47ff038d 100644 (file)
@@ -29,3 +29,7 @@
                brcm,function = <BCM2835_FSEL_ALT0>;
        };
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+};
index 86f1f2f598a7336e630c85744874147b84b7f1fc..cf2774ec0834167bd6345e6023cdfbcb698fef08 100644 (file)
@@ -22,3 +22,7 @@
                brcm,function = <BCM2835_FSEL_ALT2>;
        };
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+};
index 4859e9d81b23f8194a0f46aedd56ad8915d53c53..8b15f9c356438a36f62cf130496a7f7b6ba1933a 100644 (file)
@@ -16,3 +16,7 @@
 &gpio {
        pinctrl-0 = <&gpioout &alt0 &alt3>;
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
+};
index 76bdbcafab18e8ea7c4e06decd315540aac7ef33..caf2707680c1b2bc126b823574efe0120f9baad2 100644 (file)
 &usb {
        power-domains = <&power RPI_POWER_DOMAIN_USB>;
 };
+
+&v3d {
+       power-domains = <&power RPI_POWER_DOMAIN_V3D>;
+};
+
+&hdmi {
+       power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
+       status = "okay";
+};
index ff946661bd13e623480003808aaa6ab7958f0c02..c4743f42237be14b0526bbe77b2724bff09ab963 100644 (file)
@@ -33,3 +33,7 @@
                brcm,function = <BCM2835_FSEL_ALT0>;
        };
 };
+
+&hdmi {
+       hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+};
index 8aaf193711bfea9872673a4f2fe3ec4bcbfe494a..31cc2f2ef040ca32331643f2ae2d180c2c0d65a6 100644 (file)
@@ -1,6 +1,7 @@
 #include <dt-bindings/pinctrl/bcm2835.h>
 #include <dt-bindings/clock/bcm2835.h>
 #include <dt-bindings/clock/bcm2835-aux.h>
+#include <dt-bindings/gpio/gpio.h>
 #include "skeleton.dtsi"
 
 /* This include file covers the common peripherals and configuration between
                        status = "disabled";
                };
 
+               pixelvalve@7e206000 {
+                       compatible = "brcm,bcm2835-pixelvalve0";
+                       reg = <0x7e206000 0x100>;
+                       interrupts = <2 13>; /* pwa0 */
+               };
+
+               pixelvalve@7e207000 {
+                       compatible = "brcm,bcm2835-pixelvalve1";
+                       reg = <0x7e207000 0x100>;
+                       interrupts = <2 14>; /* pwa1 */
+               };
+
                aux: aux@0x7e215000 {
                        compatible = "brcm,bcm2835-aux";
                        #clock-cells = <1>;
                        status = "disabled";
                };
 
+               hvs@7e400000 {
+                       compatible = "brcm,bcm2835-hvs";
+                       reg = <0x7e400000 0x6000>;
+                       interrupts = <2 1>;
+               };
+
                i2c1: i2c@7e804000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e804000 0x1000>;
                        status = "disabled";
                };
 
+               pixelvalve@7e807000 {
+                       compatible = "brcm,bcm2835-pixelvalve2";
+                       reg = <0x7e807000 0x100>;
+                       interrupts = <2 10>; /* pixelvalve */
+               };
+
+               hdmi: hdmi@7e902000 {
+                       compatible = "brcm,bcm2835-hdmi";
+                       reg = <0x7e902000 0x600>,
+                             <0x7e808000 0x100>;
+                       interrupts = <2 8>, <2 9>;
+                       ddc = <&i2c2>;
+                       clocks = <&clocks BCM2835_PLLH_PIX>,
+                                <&clocks BCM2835_CLOCK_HSM>;
+                       clock-names = "pixel", "hdmi";
+                       status = "disabled";
+               };
+
                usb: usb@7e980000 {
                        compatible = "brcm,bcm2835-usb";
                        reg = <0x7e980000 0x10000>;
                        interrupts = <1 9>;
                };
+
+               v3d: v3d@7ec00000 {
+                       compatible = "brcm,bcm2835-v3d";
+                       reg = <0x7ec00000 0x1000>;
+                       interrupts = <1 10>;
+               };
+
+               vc4: gpu {
+                       compatible = "brcm,bcm2835-vc4";
+               };
        };
 
        clocks {