bmips: dts: move leds dt-bindings include to SoCs
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6362.dtsi
index 77473c22bb19fb76b7d4ab38df8589e81a46ba08..1089d89350baa52bdfb33ceca948eb637a16149d 100644 (file)
@@ -6,6 +6,8 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/reset/bcm6362-reset.h>
 #include <dt-bindings/soc/bcm6362-pm.h>
 
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
+                       interrupt-parent = <&periph_intc>;
                        interrupts = <BCM6362_IRQ_EXT0>,
                                     <BCM6362_IRQ_EXT1>,
                                     <BCM6362_IRQ_EXT2>,
                };
 
                gpio_cntl: syscon@10000080 {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        compatible = "brcm,bcm6362-gpio-sysctl",
                                     "syscon", "simple-mfd";
                        reg = <0x10000080 0x80>;
                        status = "disabled";
                };
 
+               random: rng@10002880 {
+                       compatible = "brcm,bcm6368-rng";
+                       reg = <0x10002880 0x14>;
+
+                       clocks = <&periph_clk BCM6362_CLK_IPSEC>;
+                       clock-names = "ipsec";
+
+                       resets = <&periph_rst BCM6362_RST_IPSEC>;
+
+                       power-domains = <&periph_pwr BCM6362_POWER_DOMAIN_IPSEC>;
+               };
+
                ethernet: ethernet@1000d800 {
                        compatible = "brcm,bcm6362-enetsw";
                        reg = <0x1000d800 0x80>,
                switch0: switch@10e00000 {
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       compatible = "brcm,bcm6328-switch";
+                       compatible = "brcm,bcm6362-switch";
                        reg = <0x10e00000 0x8000>;
                        big-endian;
 
 
                                port@8 {
                                        reg = <8>;
-                                       label = "cpu";
 
                                        phy-mode = "internal";
                                        ethernet = <&ethernet>;