Merge tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next
[linux-2.6-microblaze.git] / arch / arm / boot / dts / nuvoton-npcm750.dtsi
index 6ac3405..13eee0f 100644 (file)
@@ -17,7 +17,7 @@
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
-                       clocks = <&clk 0>;
+                       clocks = <&clk NPCM7XX_CLK_CPU>;
                        clock-names = "clk_cpu";
                        reg = <0>;
                        next-level-cache = <&l2>;
                cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
-                       clocks = <&clk 0>;
+                       clocks = <&clk NPCM7XX_CLK_CPU>;
                        clock-names = "clk_cpu";
                        reg = <1>;
                        next-level-cache = <&l2>;
                };
        };
+
        soc {
                timer@3fe600 {
                        compatible = "arm,cortex-a9-twd-timer";
                        reg = <0x3fe600 0x20>;
                        interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
                                                  IRQ_TYPE_LEVEL_HIGH)>;
-                       clocks = <&clk 5>;
+                       clocks = <&clk NPCM7XX_CLK_AHB>;
+               };
+       };
+
+       ahb {
+               gmac1: eth@f0804000 {
+                       device_type = "network";
+                       compatible = "snps,dwmac";
+                       reg = <0xf0804000 0x2000>;
+                       interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "macirq";
+                       ethernet = <1>;
+                       clocks  = <&clk_rg2refck>, <&clk NPCM7XX_CLK_AHB>;
+                       clock-names = "stmmaceth", "clk_gmac";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&rg2_pins
+                                       &rg2mdio_pins>;
+                       status = "disabled";
                };
        };
 };