bmips: document GPIO external interrupts
[openwrt/staging/dedeckeh.git] / target / linux / bmips / dts / bcm63268.dtsi
index 2bc86d26f97ee0c4308dd5b5bddaff0c91d8b22e..f9a31d36ef72191777ac9414e6fb4321222fa4cc 100644 (file)
@@ -6,6 +6,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/reset/bcm63268-reset.h>
 #include <dt-bindings/soc/bcm63268-pm.h>
 
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM63268_IRQ_EXT0>,
                                     <BCM63268_IRQ_EXT1>,
                                     <BCM63268_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@100000c0 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm63268-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x100000c0 0x80>;
                        status = "disabled";
                };
 
+               random: rng@10002880 {
+                       compatible = "brcm,bcm6368-rng";
+                       reg = <0x10002880 0x14>;
+
+                       clocks = <&periph_clk BCM63268_CLK_IPSEC>;
+                       clock-names = "ipsec";
+
+                       resets = <&periph_rst BCM63268_RST_IPSEC>;
+
+                       power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_IPSEC>;
+               };
+
                ethernet: ethernet@1000d800 {
                        compatible = "brcm,bcm63268-enetsw";
                        reg = <0x1000d800 0x80>,
                switch0: switch@10700000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       compatible = "brcm,bcm6328-switch";
+                       compatible = "brcm,bcm63268-switch";
                        reg = <0x10700000 0x8000>;
                        big-endian;