rockchip: add Bananapi-R2 Pro board support
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9556_avm_fritz-repeater.dtsi
index 34b47b15f7d1a0afb17f5ab019293ca281f4a4d0..4d2f3bb814f54ef876705155012caf72697f2f11 100644 (file)
@@ -1,16 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca955x.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca955x.dtsi"
-
 / {
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        keys {
                compatible = "gpio-keys";
 
        };
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
                                label = "urlader";
                                reg = <0x0 0x20000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       cal_urlader_198a: calibration@198a {
+                                               reg = <0x198a 0x844>;
+                                       };
+                               };
                        };
 
                        partition@20000 {
@@ -78,6 +78,8 @@
        phy-handle = <&phy0>;
        pll-data = <0x3000000 0x101 0x1313>;
 
+       qca955x-sgmii-fixup;
+
        gmac-config {
                device = <&gmac>;
                ge0-sgmii = <0>;
@@ -89,5 +91,6 @@
 
        phy0: ethernet-phy@0 {
                reg = <0>;
+               at803x-override-sgmii-link-check;
        };
 };