From 7f1ec1cc7944f15a7ae7f7973c61ada49ba2ee54 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 5 Jan 2020 13:14:43 +0100 Subject: brcm63xx: be more specific about SOC names This uses the specific SOC names for several devices where the Chip ID was used incorrectly before. Signed-off-by: Adrian Schmutzler --- target/linux/brcm63xx/dts/bcm63168-sky-sr102.dts | 118 ++++++++++++++++ .../brcm63xx/dts/bcm63268-brcm-bcm963269bhr.dts | 66 --------- target/linux/brcm63xx/dts/bcm63268-sky-sr102.dts | 118 ---------------- .../brcm63xx/dts/bcm63269-brcm-bcm963269bhr.dts | 66 +++++++++ .../dts/bcm6358-huawei-echolife-hg520v.dts | 69 --------- .../dts/bcm6359-huawei-echolife-hg520v.dts | 69 +++++++++ .../dts/bcm6361-sfr-neufbox-6-sercomm-r0.dts | 100 +++++++++++++ .../dts/bcm6362-sfr-neufbox-6-sercomm-r0.dts | 100 ------------- .../brcm63xx/dts/bcm6368-comtrend-wap-5813n.dts | 157 --------------------- .../linux/brcm63xx/dts/bcm6368-netgear-evg2000.dts | 124 ---------------- .../brcm63xx/dts/bcm6369-comtrend-wap-5813n.dts | 157 +++++++++++++++++++++ .../linux/brcm63xx/dts/bcm6369-netgear-evg2000.dts | 124 ++++++++++++++++ 12 files changed, 634 insertions(+), 634 deletions(-) create mode 100644 target/linux/brcm63xx/dts/bcm63168-sky-sr102.dts delete mode 100644 target/linux/brcm63xx/dts/bcm63268-brcm-bcm963269bhr.dts delete mode 100644 target/linux/brcm63xx/dts/bcm63268-sky-sr102.dts create mode 100644 target/linux/brcm63xx/dts/bcm63269-brcm-bcm963269bhr.dts delete mode 100644 target/linux/brcm63xx/dts/bcm6358-huawei-echolife-hg520v.dts create mode 100644 target/linux/brcm63xx/dts/bcm6359-huawei-echolife-hg520v.dts create mode 100644 target/linux/brcm63xx/dts/bcm6361-sfr-neufbox-6-sercomm-r0.dts delete mode 100644 target/linux/brcm63xx/dts/bcm6362-sfr-neufbox-6-sercomm-r0.dts delete mode 100644 target/linux/brcm63xx/dts/bcm6368-comtrend-wap-5813n.dts delete mode 100644 target/linux/brcm63xx/dts/bcm6368-netgear-evg2000.dts create mode 100644 target/linux/brcm63xx/dts/bcm6369-comtrend-wap-5813n.dts create mode 100644 target/linux/brcm63xx/dts/bcm6369-netgear-evg2000.dts (limited to 'target/linux/brcm63xx/dts') diff --git a/target/linux/brcm63xx/dts/bcm63168-sky-sr102.dts b/target/linux/brcm63xx/dts/bcm63168-sky-sr102.dts new file mode 100644 index 0000000000..e47822af89 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm63168-sky-sr102.dts @@ -0,0 +1,118 @@ +/dts-v1/; + +#include "bcm63268.dtsi" + +#include + +/ { + model = "SKY SR102"; + compatible = "sky,sr102", "brcm,bcm63168", "brcm,bcm63268"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + wps { + label = "wps"; + gpios = <&pinctrl 33 0>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + leds { + compatible = "gpio-leds"; + + lan1_green { + label = "SR102:green:lan1"; + gpios = <&pinctrl 1 1>; + }; + power_red { + label = "SR102:red:power"; + gpios = <&pinctrl 2 1>; + }; + wifi_red { + label = "SR102:red:wifi"; + gpios = <&pinctrl 3 1>; + }; + inet_red { + label = "SR102:red:inet"; + gpios = <&pinctrl 4 1>; + }; + inet_white { + label = "SR102:white:inet"; + gpios = <&pinctrl 5 0>; + }; + power_white { + label = "SR102:white:power"; + gpios = <&pinctrl 6 0>; + default-state = "on"; + }; + wifi_white { + label = "SR102:white:wifi"; + gpios = <&pinctrl 8 0>; + }; + lan2_red { + label = "SR102:red:lan2"; + gpios = <&pinctrl 9 1>; + }; + lan3_red { + label = "SR102:red:lan3"; + gpios = <&pinctrl 10 1>; + }; + lan4_red { + label = "SR102:red:lan4"; + gpios = <&pinctrl 11 1>; + }; + lan1_red { + label = "SR102:red:lan1"; + gpios = <&pinctrl 12 1>; + }; + lan2_green { + label = "SR102:green:lan2"; + gpios = <&pinctrl 13 0>; + }; + lan3_green { + label = "SR102:green:lan3"; + gpios = <&pinctrl 14 1>; + }; + lan4_green { + label = "SR102:green:lan4"; + gpios = <&pinctrl 15 1>; + }; + hd_white { + label = "SR102:white:hd"; + gpios = <&pinctrl 18 0>; + }; + }; +}; + +&hsspi { + status = "ok"; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-max-frequency = <16666667>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + reg = <0>; + + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "brcm,bcm963xx-cfe-nor-partitions"; + }; + }; +}; + +&uart0 { + status = "ok"; +}; diff --git a/target/linux/brcm63xx/dts/bcm63268-brcm-bcm963269bhr.dts b/target/linux/brcm63xx/dts/bcm63268-brcm-bcm963269bhr.dts deleted file mode 100644 index bb1609e040..0000000000 --- a/target/linux/brcm63xx/dts/bcm63268-brcm-bcm963269bhr.dts +++ /dev/null @@ -1,66 +0,0 @@ -/dts-v1/; - -#include "bcm63268.dtsi" - -#include - -/ { - model = "Broadcom BCM963269BHR reference board"; - compatible = "brcm,bcm963269bhr", "brcm,bcm63268"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - reset { - label = "reset"; - gpios = <&pinctrl 32 0>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - leds { - compatible = "gpio-leds"; - - usb1 { - label = "963269BHR:green:usb1"; - gpios = <&pinctrl 9 1>; - }; - - usb2 { - label = "963269BHR:green:usb2"; - gpios = <&pinctrl 10 1>; - }; - }; -}; - -&hsspi { - status = "ok"; - - flash@0 { - compatible = "jedec,spi-nor"; - spi-max-frequency = <20000000>; - spi-tx-bus-width = <2>; - spi-rx-bus-width = <2>; - reg = <0>; - - #address-cells = <1>; - #size-cells = <1>; - - partitions { - compatible = "brcm,bcm963xx-cfe-nor-partitions"; - }; - }; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm63268-sky-sr102.dts b/target/linux/brcm63xx/dts/bcm63268-sky-sr102.dts deleted file mode 100644 index 45c1302489..0000000000 --- a/target/linux/brcm63xx/dts/bcm63268-sky-sr102.dts +++ /dev/null @@ -1,118 +0,0 @@ -/dts-v1/; - -#include "bcm63268.dtsi" - -#include - -/ { - model = "SKY SR102"; - compatible = "sky,sr102", "brcm,bcm63268"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - wps { - label = "wps"; - gpios = <&pinctrl 33 0>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - leds { - compatible = "gpio-leds"; - - lan1_green { - label = "SR102:green:lan1"; - gpios = <&pinctrl 1 1>; - }; - power_red { - label = "SR102:red:power"; - gpios = <&pinctrl 2 1>; - }; - wifi_red { - label = "SR102:red:wifi"; - gpios = <&pinctrl 3 1>; - }; - inet_red { - label = "SR102:red:inet"; - gpios = <&pinctrl 4 1>; - }; - inet_white { - label = "SR102:white:inet"; - gpios = <&pinctrl 5 0>; - }; - power_white { - label = "SR102:white:power"; - gpios = <&pinctrl 6 0>; - default-state = "on"; - }; - wifi_white { - label = "SR102:white:wifi"; - gpios = <&pinctrl 8 0>; - }; - lan2_red { - label = "SR102:red:lan2"; - gpios = <&pinctrl 9 1>; - }; - lan3_red { - label = "SR102:red:lan3"; - gpios = <&pinctrl 10 1>; - }; - lan4_red { - label = "SR102:red:lan4"; - gpios = <&pinctrl 11 1>; - }; - lan1_red { - label = "SR102:red:lan1"; - gpios = <&pinctrl 12 1>; - }; - lan2_green { - label = "SR102:green:lan2"; - gpios = <&pinctrl 13 0>; - }; - lan3_green { - label = "SR102:green:lan3"; - gpios = <&pinctrl 14 1>; - }; - lan4_green { - label = "SR102:green:lan4"; - gpios = <&pinctrl 15 1>; - }; - hd_white { - label = "SR102:white:hd"; - gpios = <&pinctrl 18 0>; - }; - }; -}; - -&hsspi { - status = "ok"; - - flash@0 { - compatible = "jedec,spi-nor"; - spi-max-frequency = <16666667>; - spi-tx-bus-width = <2>; - spi-rx-bus-width = <2>; - reg = <0>; - - #address-cells = <1>; - #size-cells = <1>; - - partitions { - compatible = "brcm,bcm963xx-cfe-nor-partitions"; - }; - }; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm63269-brcm-bcm963269bhr.dts b/target/linux/brcm63xx/dts/bcm63269-brcm-bcm963269bhr.dts new file mode 100644 index 0000000000..bcd2286cf9 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm63269-brcm-bcm963269bhr.dts @@ -0,0 +1,66 @@ +/dts-v1/; + +#include "bcm63268.dtsi" + +#include + +/ { + model = "Broadcom BCM963269BHR reference board"; + compatible = "brcm,bcm963269bhr", "brcm,bcm63269", "brcm,bcm63268"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + reset { + label = "reset"; + gpios = <&pinctrl 32 0>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + leds { + compatible = "gpio-leds"; + + usb1 { + label = "963269BHR:green:usb1"; + gpios = <&pinctrl 9 1>; + }; + + usb2 { + label = "963269BHR:green:usb2"; + gpios = <&pinctrl 10 1>; + }; + }; +}; + +&hsspi { + status = "ok"; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-max-frequency = <20000000>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + reg = <0>; + + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "brcm,bcm963xx-cfe-nor-partitions"; + }; + }; +}; + +&uart0 { + status = "ok"; +}; diff --git a/target/linux/brcm63xx/dts/bcm6358-huawei-echolife-hg520v.dts b/target/linux/brcm63xx/dts/bcm6358-huawei-echolife-hg520v.dts deleted file mode 100644 index 2176ea88d2..0000000000 --- a/target/linux/brcm63xx/dts/bcm6358-huawei-echolife-hg520v.dts +++ /dev/null @@ -1,69 +0,0 @@ -/dts-v1/; - -#include "bcm6358.dtsi" - -#include - -/ { - model = "Huawei EchoLife HG520v"; - compatible = "huawei,echolife-hg520v", "brcm,bcm6358"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - reset { - label = "reset"; - gpios = <&pinctrl 37 1>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - leds { - compatible = "gpio-leds"; - - inet_green { - label = "HW520:green:net"; - gpios = <&pinctrl 32 1>; - }; - }; -}; - -&pflash { - status = "ok"; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - cfe@0 { - label = "CFE"; - reg = <0x000000 0x010000>; - read-only; - }; - - linux@10000 { - label = "linux"; - reg = <0x010000 0x3e0000>; - compatible = "brcm,bcm963xx-imagetag"; - }; - - nvram@3f0000 { - label = "nvram"; - reg = <0x3f0000 0x010000>; - }; - }; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm6359-huawei-echolife-hg520v.dts b/target/linux/brcm63xx/dts/bcm6359-huawei-echolife-hg520v.dts new file mode 100644 index 0000000000..5809b6da4e --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm6359-huawei-echolife-hg520v.dts @@ -0,0 +1,69 @@ +/dts-v1/; + +#include "bcm6358.dtsi" + +#include + +/ { + model = "Huawei EchoLife HG520v"; + compatible = "huawei,echolife-hg520v", "brcm,bcm6359", "brcm,bcm6358"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + reset { + label = "reset"; + gpios = <&pinctrl 37 1>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + leds { + compatible = "gpio-leds"; + + inet_green { + label = "HW520:green:net"; + gpios = <&pinctrl 32 1>; + }; + }; +}; + +&pflash { + status = "ok"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x010000>; + read-only; + }; + + linux@10000 { + label = "linux"; + reg = <0x010000 0x3e0000>; + compatible = "brcm,bcm963xx-imagetag"; + }; + + nvram@3f0000 { + label = "nvram"; + reg = <0x3f0000 0x010000>; + }; + }; +}; + +&uart0 { + status = "ok"; +}; diff --git a/target/linux/brcm63xx/dts/bcm6361-sfr-neufbox-6-sercomm-r0.dts b/target/linux/brcm63xx/dts/bcm6361-sfr-neufbox-6-sercomm-r0.dts new file mode 100644 index 0000000000..4498272887 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm6361-sfr-neufbox-6-sercomm-r0.dts @@ -0,0 +1,100 @@ +/dts-v1/; + +#include "bcm6362.dtsi" + +#include + +/ { + model = "SFR Neufbox 6 (Sercomm)"; + compatible = "sfr,neufbox-6-sercomm-r0", "brcm,bcm6361", "brcm,bcm6362"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + service { + label = "service"; + gpios = <&pinctrl 10 1>; + linux,code = ; + debounce-interval = <60>; + }; + + wlan { + label = "wlan"; + gpios = <&pinctrl 12 1>; + linux,code = ; + debounce-interval = <60>; + }; + + reset { + label = "reset"; + gpios = <&pinctrl 24 1>; + linux,code = ; + debounce-interval = <60>; + }; + + wps { + label = "wps"; + gpios = <&pinctrl 25 1>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + switch { + compatible = "realtek,rtl8367"; + gpio-sda = <&pinctrl 18 0>; + gpio-sck = <&pinctrl 20 0>; + + realtek,extif0 = <1 5 1 1 1 1 1 1 2>; + }; +}; + +&hsspi { + status = "ok"; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-max-frequency = <20000000>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + reg = <0>; + + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + cfe@0 { + reg = <0x000000 0x010000>; + label = "cfe"; + read-only; + }; + + linux@10000 { + reg = <0x010000 0xfe0000>; + label = "linux"; + compatible = "brcm,bcm963xx-imagetag"; + }; + + nvram@ff0000 { + reg = <0xff0000 0x010000>; + label = "nvram"; + }; + }; + }; +}; + +&uart0 { + status = "ok"; +}; diff --git a/target/linux/brcm63xx/dts/bcm6362-sfr-neufbox-6-sercomm-r0.dts b/target/linux/brcm63xx/dts/bcm6362-sfr-neufbox-6-sercomm-r0.dts deleted file mode 100644 index 031aff0748..0000000000 --- a/target/linux/brcm63xx/dts/bcm6362-sfr-neufbox-6-sercomm-r0.dts +++ /dev/null @@ -1,100 +0,0 @@ -/dts-v1/; - -#include "bcm6362.dtsi" - -#include - -/ { - model = "SFR Neufbox 6 (Sercomm)"; - compatible = "sfr,neufbox-6-sercomm-r0", "brcm,bcm6362"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - service { - label = "service"; - gpios = <&pinctrl 10 1>; - linux,code = ; - debounce-interval = <60>; - }; - - wlan { - label = "wlan"; - gpios = <&pinctrl 12 1>; - linux,code = ; - debounce-interval = <60>; - }; - - reset { - label = "reset"; - gpios = <&pinctrl 24 1>; - linux,code = ; - debounce-interval = <60>; - }; - - wps { - label = "wps"; - gpios = <&pinctrl 25 1>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - switch { - compatible = "realtek,rtl8367"; - gpio-sda = <&pinctrl 18 0>; - gpio-sck = <&pinctrl 20 0>; - - realtek,extif0 = <1 5 1 1 1 1 1 1 2>; - }; -}; - -&hsspi { - status = "ok"; - - flash@0 { - compatible = "jedec,spi-nor"; - spi-max-frequency = <20000000>; - spi-tx-bus-width = <2>; - spi-rx-bus-width = <2>; - reg = <0>; - - #address-cells = <1>; - #size-cells = <1>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - cfe@0 { - reg = <0x000000 0x010000>; - label = "cfe"; - read-only; - }; - - linux@10000 { - reg = <0x010000 0xfe0000>; - label = "linux"; - compatible = "brcm,bcm963xx-imagetag"; - }; - - nvram@ff0000 { - reg = <0xff0000 0x010000>; - label = "nvram"; - }; - }; - }; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm6368-comtrend-wap-5813n.dts b/target/linux/brcm63xx/dts/bcm6368-comtrend-wap-5813n.dts deleted file mode 100644 index abf5ea4f6b..0000000000 --- a/target/linux/brcm63xx/dts/bcm6368-comtrend-wap-5813n.dts +++ /dev/null @@ -1,157 +0,0 @@ -/dts-v1/; - -#include "bcm6368.dtsi" - -#include - -/ { - model = "Comtrend WAP-5813n"; - compatible = "comtrend,wap-5813n", "brcm,bcm6368"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - wlan { - label = "wlan"; - gpios = <&pinctrl 32 1>; - linux,code = ; - debounce-interval = <60>; - }; - - reset { - label = "reset"; - gpios = <&pinctrl 34 1>; - linux,code = ; - debounce-interval = <60>; - }; - - wps { - label = "wps"; - gpios = <&pinctrl 35 1>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - leds { - compatible = "gpio-leds"; - - inet_green { - label = "WAP-5813n:green:inet"; - gpios = <&pinctrl 5 0>; - }; - power_green { - label = "WAP-5813n:green:power"; - gpios = <&pinctrl 22 0>; - default-state = "on"; - }; - wps_green { - label = "WAP-5813n:green:wps"; - gpios = <&pinctrl 23 1>; - }; - power_red { - label = "WAP-5813n:red:power"; - gpios = <&pinctrl 24 0>; - }; - inet_red { - label = "WAP-5813n:red:inet"; - gpios = <&pinctrl 31 0>; - }; - }; -}; - -&pflash { - status = "ok"; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - cfe@0 { - label = "CFE"; - reg = <0x000000 0x010000>; - read-only; - }; - - linux@10000 { - label = "linux"; - reg = <0x010000 0x7e0000>; - compatible = "brcm,bcm963xx-imagetag"; - }; - - nvram@7f0000 { - label = "nvram"; - reg = <0x7f0000 0x010000>; - }; - }; -}; - -&lsspi { - switch@0 { - compatible = "brcm,bcm53115"; - reg = <0>; - spi-max-frequency = <781000>; - - lede,alias = "eth0"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - lan@0 { - reg = <0>; - label = "lan4"; - }; - - lan@1 { - reg = <1>; - label = "lan3"; - }; - - lan@2 { - reg = <2>; - label = "lan2"; - }; - - lan@3 { - reg = <3>; - label = "lan1"; - }; - - wan@4 { - reg = <4>; - label = "wan"; - }; - - cpu@5 { - reg = <5>; - label = "cpu"; - - fixed-link { - speed = <1000>; - full-duplex; - asym-pause; - pause; - }; - }; - }; - }; -}; - -&pinctrl { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pci>; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm6368-netgear-evg2000.dts b/target/linux/brcm63xx/dts/bcm6368-netgear-evg2000.dts deleted file mode 100644 index 1508291f4b..0000000000 --- a/target/linux/brcm63xx/dts/bcm6368-netgear-evg2000.dts +++ /dev/null @@ -1,124 +0,0 @@ -/dts-v1/; - -#include "bcm6368.dtsi" - -#include - -/ { - model = "Netgear EVG2000"; - compatible = "netgear,evg2000", "brcm,bcm6368"; - - chosen { - bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; - stdout-path = "serial0:115200n8"; - }; - - keys { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - reset { - label = "reset"; - gpios = <&pinctrl 25 1>; - linux,code = ; - debounce-interval = <60>; - }; - - wps { - label = "wps"; - gpios = <&pinctrl 26 1>; - linux,code = ; - debounce-interval = <60>; - }; - }; - - leds { - compatible = "gpio-leds"; - - voip1_green { - label = "EVG2000:green:voip1"; - gpios = <&pinctrl 14 1>; - }; - voip2_green { - label = "EVG2000:green:voip2"; - gpios = <&pinctrl 2 1>; - }; - inet_red { - label = "EVG2000:red:inet"; - gpios = <&pinctrl 4 1>; - }; - inet_green { - label = "EVG2000:green:inet"; - gpios = <&pinctrl 5 1>; - }; - usb_green { - label = "EVG2000:green:usb"; - gpios = <&pinctrl 15 1>; - }; - power_green { - label = "EVG2000:green:power"; - gpios = <&pinctrl 22 1>; - default-state = "on"; - }; - power_red { - label = "EVG2000:red:power"; - gpios = <&pinctrl 23 1>; - }; - lan_green { - label = "EVG2000:green:lan"; - gpios = <&pinctrl 24 1>; - }; - wireless_green { - label = "EVG2000:green:wireless"; - gpios = <&pinctrl 26 1>; - }; - wan_green { - label = "EVG2000:green:wan"; - gpios = <&pinctrl 27 1>; - }; - }; -}; - -&pflash { - status = "ok"; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - cfe@0 { - label = "CFE"; - reg = <0x00000000 0x00020000>; - read-only; - }; - - linux@20000 { - label = "linux"; - reg = <0x00020000 0x00f40000>; - compatible = "brcm,bcm963xx-imagetag"; - }; - - board_data@f60000 { - label = "board_data"; - reg = <0x00f60000 0x00080000>; - read-only; - }; - - nvram@fe0000 { - label = "nvram"; - reg = <0x00fe0000 0x00020000>; - }; - }; -}; - -&pinctrl { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pci>; -}; - -&uart0 { - status = "ok"; -}; diff --git a/target/linux/brcm63xx/dts/bcm6369-comtrend-wap-5813n.dts b/target/linux/brcm63xx/dts/bcm6369-comtrend-wap-5813n.dts new file mode 100644 index 0000000000..c6db2721de --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm6369-comtrend-wap-5813n.dts @@ -0,0 +1,157 @@ +/dts-v1/; + +#include "bcm6368.dtsi" + +#include + +/ { + model = "Comtrend WAP-5813n"; + compatible = "comtrend,wap-5813n", "brcm,bcm6369", "brcm,bcm6368"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + wlan { + label = "wlan"; + gpios = <&pinctrl 32 1>; + linux,code = ; + debounce-interval = <60>; + }; + + reset { + label = "reset"; + gpios = <&pinctrl 34 1>; + linux,code = ; + debounce-interval = <60>; + }; + + wps { + label = "wps"; + gpios = <&pinctrl 35 1>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + leds { + compatible = "gpio-leds"; + + inet_green { + label = "WAP-5813n:green:inet"; + gpios = <&pinctrl 5 0>; + }; + power_green { + label = "WAP-5813n:green:power"; + gpios = <&pinctrl 22 0>; + default-state = "on"; + }; + wps_green { + label = "WAP-5813n:green:wps"; + gpios = <&pinctrl 23 1>; + }; + power_red { + label = "WAP-5813n:red:power"; + gpios = <&pinctrl 24 0>; + }; + inet_red { + label = "WAP-5813n:red:inet"; + gpios = <&pinctrl 31 0>; + }; + }; +}; + +&pflash { + status = "ok"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x010000>; + read-only; + }; + + linux@10000 { + label = "linux"; + reg = <0x010000 0x7e0000>; + compatible = "brcm,bcm963xx-imagetag"; + }; + + nvram@7f0000 { + label = "nvram"; + reg = <0x7f0000 0x010000>; + }; + }; +}; + +&lsspi { + switch@0 { + compatible = "brcm,bcm53115"; + reg = <0>; + spi-max-frequency = <781000>; + + lede,alias = "eth0"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + lan@0 { + reg = <0>; + label = "lan4"; + }; + + lan@1 { + reg = <1>; + label = "lan3"; + }; + + lan@2 { + reg = <2>; + label = "lan2"; + }; + + lan@3 { + reg = <3>; + label = "lan1"; + }; + + wan@4 { + reg = <4>; + label = "wan"; + }; + + cpu@5 { + reg = <5>; + label = "cpu"; + + fixed-link { + speed = <1000>; + full-duplex; + asym-pause; + pause; + }; + }; + }; + }; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pci>; +}; + +&uart0 { + status = "ok"; +}; diff --git a/target/linux/brcm63xx/dts/bcm6369-netgear-evg2000.dts b/target/linux/brcm63xx/dts/bcm6369-netgear-evg2000.dts new file mode 100644 index 0000000000..93d4792740 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm6369-netgear-evg2000.dts @@ -0,0 +1,124 @@ +/dts-v1/; + +#include "bcm6368.dtsi" + +#include + +/ { + model = "Netgear EVG2000"; + compatible = "netgear,evg2000", "brcm,bcm6369", "brcm,bcm6368"; + + chosen { + bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + + keys { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + reset { + label = "reset"; + gpios = <&pinctrl 25 1>; + linux,code = ; + debounce-interval = <60>; + }; + + wps { + label = "wps"; + gpios = <&pinctrl 26 1>; + linux,code = ; + debounce-interval = <60>; + }; + }; + + leds { + compatible = "gpio-leds"; + + voip1_green { + label = "EVG2000:green:voip1"; + gpios = <&pinctrl 14 1>; + }; + voip2_green { + label = "EVG2000:green:voip2"; + gpios = <&pinctrl 2 1>; + }; + inet_red { + label = "EVG2000:red:inet"; + gpios = <&pinctrl 4 1>; + }; + inet_green { + label = "EVG2000:green:inet"; + gpios = <&pinctrl 5 1>; + }; + usb_green { + label = "EVG2000:green:usb"; + gpios = <&pinctrl 15 1>; + }; + power_green { + label = "EVG2000:green:power"; + gpios = <&pinctrl 22 1>; + default-state = "on"; + }; + power_red { + label = "EVG2000:red:power"; + gpios = <&pinctrl 23 1>; + }; + lan_green { + label = "EVG2000:green:lan"; + gpios = <&pinctrl 24 1>; + }; + wireless_green { + label = "EVG2000:green:wireless"; + gpios = <&pinctrl 26 1>; + }; + wan_green { + label = "EVG2000:green:wan"; + gpios = <&pinctrl 27 1>; + }; + }; +}; + +&pflash { + status = "ok"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + cfe@0 { + label = "CFE"; + reg = <0x00000000 0x00020000>; + read-only; + }; + + linux@20000 { + label = "linux"; + reg = <0x00020000 0x00f40000>; + compatible = "brcm,bcm963xx-imagetag"; + }; + + board_data@f60000 { + label = "board_data"; + reg = <0x00f60000 0x00080000>; + read-only; + }; + + nvram@fe0000 { + label = "nvram"; + reg = <0x00fe0000 0x00020000>; + }; + }; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pci>; +}; + +&uart0 { + status = "ok"; +}; -- cgit v1.2.3