|
@@ -156,19 +156,19 @@
|
|
|
regulator-always-on;
|
|
|
};
|
|
|
|
|
|
- rtkgsw: rtkgsw@0 {
|
|
|
- compatible = "mediatek,rtk-gsw";
|
|
|
+ rtkgsw: rtkgsw@0 {
|
|
|
+ compatible = "mediatek,rtk-gsw";
|
|
|
mediatek,ethsys = <ðsys>;
|
|
|
- mediatek,mdio = <&mdio>;
|
|
|
- mediatek,reset-pin = <&pio 54 0>;
|
|
|
- status = "okay";
|
|
|
- };
|
|
|
+ mediatek,mdio = <&mdio>;
|
|
|
+ mediatek,reset-pin = <&pio 54 0>;
|
|
|
+ status = "okay";
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
&pcie0 {
|
|
|
- pinctrl-names = "default";
|
|
|
- pinctrl-0 = <&pcie0_pins>;
|
|
|
- status = "okay";
|
|
|
+ pinctrl-names = "default";
|
|
|
+ pinctrl-0 = <&pcie0_pins>;
|
|
|
+ status = "okay";
|
|
|
};
|
|
|
|
|
|
&slot0 {
|
|
@@ -450,29 +450,31 @@
|
|
|
pinctrl-names = "default";
|
|
|
pinctrl-0 = <ð_pins>;
|
|
|
gmac0: mac@0 {
|
|
|
- compatible = "mediatek,eth-mac";
|
|
|
- reg = <0>;
|
|
|
- phy-mode = "sgmii";
|
|
|
- fixed-link {
|
|
|
- speed = <1000>;
|
|
|
- full-duplex;
|
|
|
- pause;
|
|
|
- };
|
|
|
- };
|
|
|
- gmac1: mac@1 {
|
|
|
- compatible = "mediatek,eth-mac";
|
|
|
- reg = <1>;
|
|
|
- phy-mode = "rgmii";
|
|
|
- fixed-link {
|
|
|
- speed = <1000>;
|
|
|
- full-duplex;
|
|
|
- pause;
|
|
|
- };
|
|
|
- };
|
|
|
- mdio: mdio-bus {
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <0>;
|
|
|
- };
|
|
|
+ compatible = "mediatek,eth-mac";
|
|
|
+ reg = <0>;
|
|
|
+ phy-mode = "sgmii";
|
|
|
+ fixed-link {
|
|
|
+ speed = <1000>;
|
|
|
+ full-duplex;
|
|
|
+ pause;
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ gmac1: mac@1 {
|
|
|
+ compatible = "mediatek,eth-mac";
|
|
|
+ reg = <1>;
|
|
|
+ phy-mode = "rgmii";
|
|
|
+ fixed-link {
|
|
|
+ speed = <1000>;
|
|
|
+ full-duplex;
|
|
|
+ pause;
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ mdio: mdio-bus {
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <0>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
&i2c1 {
|
|
@@ -513,50 +515,50 @@
|
|
|
reg = <0>;
|
|
|
|
|
|
partitions {
|
|
|
- compatible = "fixed-partitions";
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <1>;
|
|
|
-
|
|
|
- partition@0 {
|
|
|
- label = "Preloader";
|
|
|
- reg = <0x00000 0x0080000>;
|
|
|
- read-only;
|
|
|
- };
|
|
|
-
|
|
|
- partition@80000 {
|
|
|
- label = "ATF";
|
|
|
- reg = <0x80000 0x0040000>;
|
|
|
- read-only;
|
|
|
- };
|
|
|
-
|
|
|
- partition@c0000 {
|
|
|
- label = "uboot";
|
|
|
- reg = <0xc0000 0x0080000>;
|
|
|
- read-only;
|
|
|
- };
|
|
|
-
|
|
|
- partition@140000 {
|
|
|
- label = "uboot-env";
|
|
|
- reg = <0x140000 0x0080000>;
|
|
|
- read-only;
|
|
|
- };
|
|
|
-
|
|
|
- factory: partition@1c0000 {
|
|
|
- label = "factory";
|
|
|
- reg = <0x1c0000 0x0040000>;
|
|
|
- read-only;
|
|
|
- };
|
|
|
-
|
|
|
- partition@200000 {
|
|
|
- label = "firmware";
|
|
|
- reg = <0x200000 0x2000000>;
|
|
|
- };
|
|
|
-
|
|
|
- partition@2200000 {
|
|
|
- label = "reserved";
|
|
|
- reg = <0x2200000 0x4000000>;
|
|
|
- };
|
|
|
- };
|
|
|
+ compatible = "fixed-partitions";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ partition@0 {
|
|
|
+ label = "Preloader";
|
|
|
+ reg = <0x00000 0x0080000>;
|
|
|
+ read-only;
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@80000 {
|
|
|
+ label = "ATF";
|
|
|
+ reg = <0x80000 0x0040000>;
|
|
|
+ read-only;
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@c0000 {
|
|
|
+ label = "uboot";
|
|
|
+ reg = <0xc0000 0x0080000>;
|
|
|
+ read-only;
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@140000 {
|
|
|
+ label = "uboot-env";
|
|
|
+ reg = <0x140000 0x0080000>;
|
|
|
+ read-only;
|
|
|
+ };
|
|
|
+
|
|
|
+ factory: partition@1c0000 {
|
|
|
+ label = "factory";
|
|
|
+ reg = <0x1c0000 0x0040000>;
|
|
|
+ read-only;
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@200000 {
|
|
|
+ label = "firmware";
|
|
|
+ reg = <0x200000 0x2000000>;
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@2200000 {
|
|
|
+ label = "reserved";
|
|
|
+ reg = <0x2200000 0x4000000>;
|
|
|
+ };
|
|
|
+ };
|
|
|
};
|
|
|
};
|
|
|
|