compatible = "netgear,dgnd3700v1", "brcm,bcm6368";
chosen {
- bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+ bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+ stdout-path = "serial0:115200n8";
};
gpio-keys-polled {
linux,part-probe = "bcm63xxpart";
- cfe@0 {
- label = "CFE";
- reg = <0x000000 0x020000>;
- read-only;
- };
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
- linux@20000 {
- label = "linux";
- reg = <0x020000 0x1e20000>;
- };
+ cfe@0 {
+ label = "CFE";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
- board_data@1e40000 {
- label = "board_data";
- reg = <0x1e40000 0x1a0000>;
- read-only;
- };
+ linux@20000 {
+ label = "linux";
+ reg = <0x020000 0x1e20000>;
+ compatible = "brcm,bcm963xx-imagetag";
+ };
- nvram@1fe0000 {
- label = "nvram";
- reg = <0x1fe0000 0x20000>;
+ board_data@1e40000 {
+ label = "board_data";
+ reg = <0x1e40000 0x1a0000>;
+ read-only;
+ };
+
+ nvram@1fe0000 {
+ label = "nvram";
+ reg = <0x1fe0000 0x20000>;
+ };
};
};
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pci>;
};
+
+&lsspi {
+ switch@1 {
+ compatible = "brcm,bcm53115";
+ reg = <1>;
+ spi-max-frequency = <781000>;
+
+ lede,alias = "eth0";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wan@0 {
+ reg = <0>;
+ label = "wan";
+ };
+
+ lan@1 {
+ reg = <1>;
+ label = "lan1";
+ };
+
+ lan@2 {
+ reg = <2>;
+ label = "lan2";
+ };
+
+ lan@3 {
+ reg = <3>;
+ label = "lan3";
+ };
+
+ lan@4 {
+ reg = <4>;
+ label = "lan4";
+ };
+
+ cpu@8 {
+ reg = <8>;
+ label = "cpu";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
+ };
+ };
+ };
+};
+
+&uart0 {
+ status = "ok";
+};