OpenWrt

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/branches/18.06.1/target/linux/ramips/dts/11ACNAS.dts
@@ -11,14 +11,17 @@
reg = <0x0 0x10000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
// Only USB LED is connected to GPIO.
// All of other LEDs are connected directly to
// switch, WiFi chip, Vcc, so they are not controllable
// via GPIO
 
usb {
label = "11acnas:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/3G-6200N.dts
@@ -9,60 +9,48 @@
compatible = "edimax,3g-6200n", "ralink,rt3050-soc";
model = "Edimax 3g-6200n";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@50000 {
compatible = "edimax,uimage";
label = "firmware";
reg = <0x50000 0x390000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x390000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "3g-6200n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -75,13 +63,13 @@
3g {
label = "3g-6200n:blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/3G-6200NL.dts
@@ -9,60 +9,48 @@
compatible = "edimax,3g-6200nl", "ralink,rt3050-soc";
model = "Edimax 3g-6200nl";
 
aliases {
led-boot = &led_internet;
led-failsafe = &led_internet;
led-running = &led_internet;
led-upgrade = &led_internet;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@50000 {
compatible = "edimax,uimage";
label = "firmware";
reg = <0x50000 0x390000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x390000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_internet: internet {
internet {
label = "3g-6200nl:green:internet";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -73,8 +61,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/3G150B.dts
@@ -9,17 +9,10 @@
compatible = "tenda,3g150b", "ralink,rt5350-soc";
model = "Tenda 3G150B";
 
aliases {
led-boot = &led_ap;
led-failsafe = &led_ap;
led-running = &led_ap;
led-upgrade = &led_ap;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_ap: ap {
ap {
label = "3g150b:blue:ap";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -27,13 +20,13 @@
3g {
label = "3g150b:blue:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -59,38 +52,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
@@ -102,7 +90,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf", "led";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/3G300M.dts
@@ -9,14 +9,7 @@
compatible = "tenda,3g300m", "ralink,rt3052-soc";
model = "Tenda 3G300M";
 
aliases {
led-boot = &led_ap;
led-failsafe = &led_ap;
led-running = &led_ap;
led-upgrade = &led_ap;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3grouter {
@@ -24,7 +17,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_ap: ap {
ap {
label = "3g300m:blue:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -42,8 +35,6 @@
3g {
label = "3g300m:blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
wpsreset {
@@ -52,8 +43,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -74,38 +67,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/A5-V11.dts
@@ -9,14 +9,7 @@
compatible = "unbranded,a5-v11", "ralink,rt5350-soc";
model = "A5-V11";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
system {
@@ -24,14 +17,16 @@
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "a5-v11:red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -63,38 +58,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AC1200RM.dts
@@ -41,17 +41,14 @@
compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc";
model = "ALFA Network AC1200RM";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -61,7 +58,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wlan2g {
@@ -69,7 +66,7 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "ac1200rm:green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
@@ -109,17 +106,18 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
 
led {
led-sources = <2>;
led-active-low;
led {
led-sources = <2>;
led-active-low;
};
};
};
};
@@ -137,43 +135,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
};
partition@031000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
 
partition@31000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AI-BR100.dts
@@ -9,14 +9,7 @@
compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
model = "Aigale Ai-BR100";
 
aliases {
led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-running = &led_wlan;
led-upgrade = &led_wlan;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -24,14 +17,16 @@
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
 
led_wlan: wlan {
wlan {
label = "ai-br100:blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -54,38 +49,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "u-boot-env";
reg = <0x20000 0x10000>;
read-only;
};
 
partition@20000 {
label = "u-boot-env";
reg = <0x20000 0x10000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x40000 0x7c0000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7c0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AIR3GII.dts
@@ -9,7 +9,7 @@
compatible = "airlive,air3gii", "ralink,rt5350-soc";
model = "AirLive Air3GII";
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wlan {
@@ -20,13 +20,13 @@
mobile {
label = "air3gii:green:mobile";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -45,38 +45,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ALL0256N-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3c8000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3c8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ALL0256N-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ALL0256N.dtsi
@@ -6,7 +6,7 @@
/ {
compatible = "allnet,all0256n", "ralink,rt3050-soc";
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
rssilow {
@@ -25,8 +25,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/ALL5002.dts
@@ -30,7 +30,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
ld1 {
@@ -53,38 +53,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ALL5003.dts
@@ -30,7 +30,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
ld1 {
@@ -53,38 +53,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
@@ -92,7 +87,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/AP-MT7621A-V60.dts
@@ -21,7 +21,7 @@
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&dailink0_master>;
simple-audio-card,frame-master = <&dailink0_master>;
simple-audio-card,widgets =
simple-audio-card,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack";
simple-audio-card,routing =
@@ -82,38 +82,34 @@
status = "okay";
 
mx25l6405d@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mx25l6405d","jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AR670W.dts
@@ -9,47 +9,35 @@
compatible = "airlink101,ar670w", "ralink,rt2880-soc";
model = "Airlink101 AR670W";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
u-boot@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
factory: factory@30000 {
reg = <0x30000 0x10000>;
label = "factory";
read-only;
};
 
factory: partition@30000 {
reg = <0x30000 0x10000>;
label = "factory";
read-only;
};
 
partition@40000 {
compatible = "lzma";
reg = <0x40000 0x3c0000>;
label = "firmware";
};
firmware@40000 {
reg = <0x40000 0x3c0000>;
label = "firmware";
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
status {
label = "ar670w:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -60,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/AR725W.dts
@@ -9,52 +9,40 @@
compatible = "airlink101,ar725w", "ralink,rt2880-soc";
model = "Airlink101 AR725W";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@bdc00000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
u-boot@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
u-boot-env@30000 {
reg = <0x30000 0x10000>;
label = "u-boot-env";
};
 
partition@30000 {
reg = <0x30000 0x10000>;
label = "u-boot-env";
};
factory: factory@40000 {
reg = <0x40000 0x10000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x40000 0x10000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x50000 0x3B0000>;
label = "firmware";
};
firmware@50000 {
reg = <0x50000 0x3B0000>;
label = "firmware";
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
status {
label = "ar725w:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
@@ -70,8 +58,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/ASL26555-16M.dts
@@ -11,56 +11,51 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
partition@fd0000 {
label = "cert";
reg = <0xfd0000 0x10000>;
read-only;
};
 
partition@fd0000 {
label = "cert";
reg = <0xfd0000 0x10000>;
read-only;
};
partition@fe0000 {
label = "langpack";
reg = <0xfe0000 0x10000>;
read-only;
};
 
partition@fe0000 {
label = "langpack";
reg = <0xfe0000 0x10000>;
read-only;
};
 
devdata: partition@ff0000 {
label = "devdata";
reg = <0xff0000 0x10000>;
read-only;
};
devdata: partition@ff0000 {
label = "devdata";
reg = <0xff0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ASL26555-8M.dts
@@ -11,50 +11,45 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "rgdb";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
label = "rgdb";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x790000>;
};
partition@7e0000 {
label = "cert";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "cert";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7f0000 {
label = "langpack";
reg = <0x7f0000 0x10000>;
read-only;
};
partition@7f0000 {
label = "langpack";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ASL26555.dtsi
@@ -6,15 +6,10 @@
/ {
compatible = "alphanetworks,asl26555", "ralink,rt3050-soc";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -30,7 +25,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
eth {
@@ -53,7 +48,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
 
led_power_green: power-green {
power-green {
label = "asl26555:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
@@ -66,8 +61,6 @@
3g-green {
label = "asl26555:green:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
3g-red {
/branches/18.06.1/target/linux/ramips/dts/ATP-52B.dts
@@ -9,52 +9,40 @@
compatible = "argus,atp-52b", "ralink,rt3052-soc";
model = "Argus ATP-52B";
 
aliases {
led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7a0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7a0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_run: run {
run {
label = "atp-52b:green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -65,8 +53,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/AWAPN2403.dts
@@ -9,25 +9,19 @@
compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
model = "AsiaRF AWAPN2403";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
link {
label = "awapn2403:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -42,38 +36,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
compatible = "jedec,spi-nor";
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/AWM002-EVB.dtsi
@@ -6,7 +6,7 @@
/ {
compatible = "asiarf,awm002-evb", "ralink,rt5350-soc";
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
tx {
@@ -25,8 +25,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
/branches/18.06.1/target/linux/ramips/dts/AWUSFREE1.dts
@@ -41,19 +41,14 @@
compatible = "alfa-network,awusfree1", "mediatek,mt7628an-soc";
model = "ALFA Network AWUSFREE1";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -63,10 +58,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "awusfree1:orange:system";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
@@ -126,43 +121,39 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
};
partition@031000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
 
partition@31000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherC20i.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
lan {
label = "c20i:blue:lan";
@@ -22,8 +22,6 @@
usb {
label = "c20i:blue:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wps {
label = "c20i:blue:wps";
@@ -39,9 +37,10 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys";
 
#address-cells = <1>;
#size-cells = <0>;
rfkill {
label = "rfkill";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
@@ -71,46 +70,41 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7a0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x7a0000>;
};
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
};
 
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
};
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
};
 
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
};
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
};
 
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
};
 
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
};
};
};
@@ -148,12 +142,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 32768>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherC20v1.dts
@@ -9,18 +9,11 @@
compatible = "tplink,c20-v1", "ralink,mt7620a-soc";
model = "TP-Link Archer C20 v1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -28,7 +21,7 @@
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "c20-v1:blue:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "keep";
@@ -37,8 +30,6 @@
usb {
label = "c20-v1:blue:usb";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wan {
@@ -67,8 +58,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -101,50 +94,45 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7a0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x7a0000>;
};
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
 
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
 
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -186,14 +174,15 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherC20v4.dts
@@ -9,14 +9,7 @@
compatible = "tplink,c20-v4", "mediatek,mt7628an-soc";
model = "TP-Link Archer C20 v4";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -24,7 +17,7 @@
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "c20-v4:green:power";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
@@ -38,7 +31,7 @@
label = "c20-v4:orange:wan";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
wlan5g {
label = "c20-v4:green:wlan5g";
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
@@ -55,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -92,14 +87,15 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherC50.dts
@@ -9,18 +9,11 @@
compatible = "tplink,c50", "ralink,mt7620a-soc";
model = "TP-Link Archer C50";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -28,7 +21,7 @@
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "c50:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -37,8 +30,6 @@
usb {
label = "c50:green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wan {
@@ -67,8 +58,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -100,50 +93,45 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7a0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x7a0000>;
};
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
 
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
 
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -185,14 +173,15 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 32768>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherC50V3.dts
@@ -9,15 +9,10 @@
compatible = "tplink,c50-v3", "mediatek,mt7628an-soc";
model = "TP-Link Archer C50 v3";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -33,7 +28,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -41,7 +36,7 @@
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "c50-v3:green:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
@@ -85,14 +80,15 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ArcherMR200.dts
@@ -9,18 +9,11 @@
compatible = "tplink,mr200", "ralink,mt7620a-soc";
model = "TP-Link Archer MR200";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -33,7 +26,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "mr200:white:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -74,8 +67,10 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
 
reset {
label = "reset";
@@ -100,6 +95,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
 
};
 
&gpio1 {
@@ -118,44 +114,39 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7b0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x7b0000>;
};
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
 
rom: partition@7d0000 {
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
};
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "romfile";
reg = <0x7e0000 0x10000>;
read-only;
};
 
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -192,11 +183,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 32768>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/BC2.dts
@@ -14,51 +14,46 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "bc2:blue:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/BOCCO.dts
@@ -9,8 +9,10 @@
compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
model = "YUKAI Engineering BOCCO";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -96,38 +98,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/BR-6475ND.dts
@@ -9,15 +9,10 @@
compatible = "edimax,br-6475nd", "ralink,rt3883-soc";
model = "Edimax BR-6475nD";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -34,10 +29,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "br-6475nd:green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
@@ -57,41 +52,36 @@
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x00000000 0x00030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x00000000 0x00030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "nvram";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "nvram";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
devdata: partition@50000 {
reg = <0x00050000 0x00020000>;
label = "devdata";
read-only;
};
 
devdata: partition@50000 {
reg = <0x00050000 0x00020000>;
label = "devdata";
read-only;
};
 
partition@70000 {
compatible = "edimax,uimage";
reg = <0x00070000 0x00790000>;
label = "firmware";
};
partition@70000 {
reg = <0x00070000 0x00790000>;
label = "firmware";
};
};
 
@@ -102,12 +92,10 @@
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
};
 
/* Unclear if this is the correct gpio setup; the USB ports are
unpopulated on a stock BR-6475nD, even though the hardware exists
and the headers are there. */
/*
* Unclear if this is the correct gpio setup; the USB ports are
* unpopulated on a stock BR-6475nD, even though the hardware exists
* and the headers are there.
*/
/*
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
@@ -158,16 +146,27 @@
 
&pci {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
&pci1 {
status = "okay";
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
 
wifi@0,0 {
compatible = "pci0,0";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
ralink,mtd-eeprom = <&factory 0x8000>;
host-bridge {
pci-bridge@1 {
status = "okay";
 
wifi@0,0 {
compatible = "pci0,0";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/BROADWAY.dts
@@ -14,46 +14,39 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x790000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
diskmounted {
label = "broadway:red:diskmounted";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
wps_active {
@@ -62,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
factory {
/branches/18.06.1/target/linux/ramips/dts/C108.dts
@@ -42,13 +42,6 @@
compatible = "hnet,c108", "ralink,mt7620a-soc";
model = "HNET C108";
 
aliases {
led-boot = &led_lan_green;
led-failsafe = &led_lan_green;
led-running = &led_lan_green;
led-upgrade = &led_lan_green;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -64,7 +57,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
sdcard {
@@ -87,14 +80,16 @@
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};
 
led_lan_green: lan_green {
lan_green {
label = "c108:green:lan";
gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -117,38 +112,33 @@
status = "okay";
 
en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/CARAMBOLA.dts
@@ -18,35 +18,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/CF-WR800N.dts
@@ -9,18 +9,11 @@
compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
model = "Comfast CF-WR800N";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
ethernet {
@@ -33,14 +26,16 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "cf-wr800n:white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -71,38 +66,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/CS-QR10.dts
@@ -9,24 +9,19 @@
compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
model = "Planex CS-QR10";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "cs-qr10:red:power";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
s1 {
@@ -73,38 +68,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -156,3 +146,7 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
 
&pcie {
status = "okay";
};
/branches/18.06.1/target/linux/ramips/dts/CY-SWR1100.dts
@@ -9,55 +9,45 @@
compatible = "samsung,cy-swr1100", "ralink,rt3883-soc";
model = "Samsung CY-SWR1100";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
};
 
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
 
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
 
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
 
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
 
partition@50000 {
compatible = "seama";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
@@ -68,8 +58,10 @@
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -85,10 +77,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wps {
label = "cy-swr1100:blue:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
@@ -96,8 +88,6 @@
usb {
label = "cy-swr1100:blue:usb";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
};
@@ -124,16 +114,27 @@
 
&pci {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
&pci1 {
status = "okay";
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
 
wifi@0,0 {
compatible = "pci0,0";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
ralink,mtd-eeprom = <&factory 0x2000>;
host-bridge {
pci-bridge@1 {
status = "okay";
 
wifi@0,0 {
compatible = "pci0,0";
reg = <0x10000 0 0 0 0>;
ralink,5ghz = <0>;
ralink,mtd-eeprom = <&factory 0x2000>;
};
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/D105.dts
@@ -9,68 +9,56 @@
compatible = "huawei,d105", "ralink,rt3050-soc";
model = "Huawei D105";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "d105:red:power";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
 
usb {
wps {
label = "d105:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/D240.dts
@@ -42,13 +42,6 @@
compatible = "sanlinking,d240", "ralink,mt7620a-soc";
model = "Sanlinking Technologies D240";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -68,12 +61,13 @@
gpio-export,output = <1>;
gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
};
 
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "d240:blue:power";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
@@ -81,8 +75,6 @@
usb {
label = "d240:blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
air {
@@ -91,8 +83,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -119,38 +113,33 @@
status = "okay";
 
en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -157,8 +146,6 @@
 
&sdhci {
status = "okay";
/* the pins function is already set during pinmux driver load */
/delete-property/ pinctrl-0;
};
 
&ehci {
@@ -181,23 +168,9 @@
&pinctrl {
state_default: pinctrl0 {
default {
ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa", "nd_sd";
ralink,function = "gpio";
};
 
/*
* The sd function of the nd_sd group configures two of the
* groups pins as gpios. The pins are used as PCIe reset/power.
* Due to the driver load order, the pins are configured way to
* late if triggered by the sd-card driver.
* To not introduce another kind of driver load order
* dependency and configure the pins as early as possible,
* means during pinmux driver load.
*/
gpio_sd {
ralink,group = "nd_sd";
ralink,function = "sd";
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/DAP-1350.dts
@@ -9,13 +9,6 @@
compatible = "dlink,dap-1350", "ralink,rt3052-soc";
model = "D-Link DAP-1350";
 
aliases {
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
led-upgrade = &led_power_blue;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,48 +18,43 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "devconf";
reg = <0x40000 0x30000>;
read-only;
};
 
partition@40000 {
label = "devconf";
reg = <0x40000 0x30000>;
read-only;
};
partition@70000 {
label = "devlang";
reg = <0x70000 0x40000>;
read-only;
};
 
partition@70000 {
label = "devlang";
reg = <0x70000 0x40000>;
read-only;
};
 
partition@b0000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0xb0000 0x750000>;
};
partition@b0000 {
label = "firmware";
reg = <0xb0000 0x750000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_blue: power {
power {
label = "dap-1350:blue:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -82,8 +70,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/DAP-1522-A1.dts
@@ -9,41 +9,29 @@
compatible = "dlink,dap-1522-a1", "ralink,rt2880-soc";
model = "D-Link DAP-1522 A1";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
cfi@bc400000 {
compatible = "cfi-flash";
reg = <0xbc400000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@40000 {
compatible = "wrg";
label = "firmware";
reg = <0x40000 0x3a0000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x3a0000>;
};
};
 
@@ -53,8 +41,10 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -84,7 +74,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -102,7 +92,7 @@
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
status {
label = "dap-1522-a1:blue:status";
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/DB-WRT01.dts
@@ -9,24 +9,19 @@
compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
model = "Planex DB-WRT01";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "db-wrt01:orange:power";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
s1 {
@@ -45,38 +40,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -104,3 +94,7 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
 
&pcie {
status = "okay";
};
/branches/18.06.1/target/linux/ramips/dts/DCH-M225.dts
@@ -9,15 +9,10 @@
compatible = "dlink,dch-m225", "ralink,mt7620a-soc";
model = "D-Link DCH-M225";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -33,13 +28,12 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "dch-m225:green:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
status {
@@ -103,57 +97,52 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;
m25p,fast-read;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x4000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x4000>;
read-only;
};
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
 
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
nvram: partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
 
nvram: partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "upgrade_rec";
reg = <0x50000 0x100000>;
read-only;
};
 
partition@50000 {
label = "upgrade_rec";
reg = <0x50000 0x100000>;
read-only;
};
 
partition@150000 {
compatible = "seama";
label = "firmware";
reg = <0x150000 0x6b0000>;
};
partition@150000 {
label = "firmware";
reg = <0x150000 0x6b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DCS-930.dts
@@ -9,51 +9,49 @@
compatible = "dlink,dcs-930", "ralink,rt3050-soc";
model = "D-Link DCS-930";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x400000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "kernel";
reg = <0x50000 0x150000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@150000 {
label = "rootfs";
reg = <0x150000 0x2b0000>;
};
 
partition {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -61,7 +59,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
power {
label = "dcs-930:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -72,8 +70,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/DCS-930L-B1.dts
@@ -9,17 +9,10 @@
compatible = "dlink,dcs-930l-b1", "ralink,rt5350-soc";
model = "D-Link DCS-930L B1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "dcs-930l-b1:red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -52,38 +47,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-300-B1.dts
@@ -9,52 +9,42 @@
compatible = "dlink,dir-300-b1", "ralink,rt3050-soc";
model = "D-Link DIR-300 B1";
 
aliases {
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,7 +60,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -78,7 +68,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_status_green: status2 {
status2 {
label = "dir-300-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/DIR-300-B7.dts
@@ -9,17 +9,10 @@
compatible = "dlink,dir-300-b7", "ralink,rt5350-soc";
model = "D-Link DIR-300 B7";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "dir-300-b7:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -52,38 +47,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -91,7 +81,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-320-B1.dts
@@ -9,17 +9,10 @@
compatible = "dlink,dir-320-b1", "ralink,rt5350-soc";
model = "D-Link DIR-320 B1";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "dir-320-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -35,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -74,38 +69,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -113,7 +103,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-600-B1.dts
@@ -9,52 +9,42 @@
compatible = "dlink,dir-600-b1", "ralink,rt3050-soc";
model = "D-Link DIR-600 B1";
 
aliases {
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,7 +60,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -78,7 +68,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_status_green: status2 {
status2 {
label = "dir-600-b1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/DIR-610-A1.dts
@@ -9,17 +9,10 @@
compatible = "dlink,dir-610-a1", "ralink,rt5350-soc";
model = "D-Link DIR-610 A1";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "dir-610-a1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -52,38 +47,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "seama";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-615-D.dts
@@ -9,52 +9,42 @@
compatible = "dlink,dir-615-d1", "ralink,rt3050-soc";
model = "D-Link DIR-615 D";
 
aliases {
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,7 +60,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -78,10 +68,9 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_status_green: status2 {
status2 {
label = "dir-615-d:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
wan {
/branches/18.06.1/target/linux/ramips/dts/DIR-615-H1.dts
@@ -9,14 +9,7 @@
compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
model = "D-Link DIR-615 H1";
 
aliases {
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -24,10 +17,9 @@
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
 
led_status_green: status2 {
status2 {
label = "dir-615-h1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
 
wan {
@@ -46,8 +38,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -68,38 +62,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-620-A1.dts
@@ -9,52 +9,42 @@
compatible = "dlink,dir-620-a1", "ralink,rt3050-soc";
model = "D-Link DIR-620 A1";
 
aliases {
led-boot = &led_status_green;
led-failsafe = &led_status_green;
led-running = &led_status_green;
led-upgrade = &led_status_green;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,7 +60,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -78,7 +68,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_status_green: status2 {
status2 {
label = "dir-620-a1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/DIR-620-D1.dts
@@ -9,17 +9,10 @@
compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
model = "D-Link DIR-620 D1";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "dir-620-d1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
@@ -46,38 +41,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-645.dts
@@ -9,13 +9,6 @@
compatible = "dlink,dir-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
rtl8367b {
compatible = "realtek,rtl8367b";
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
@@ -23,8 +16,10 @@
realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -40,7 +35,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
inet {
@@ -48,7 +43,7 @@
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "dir-645:green:wps";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
};
@@ -74,49 +69,44 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x4000>;
read-only;
};
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
 
factory: partition@34000 {
label = "factory";
reg = <0x34000 0x4000>;
read-only;
};
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
 
partition@38000 {
label = "nvram";
reg = <0x38000 0x8000>;
read-only;
};
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
 
partition@40000 {
label = "devdata";
reg = <0x40000 0x10000>;
};
 
partition@50000 {
compatible = "seama";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-810L.dts
@@ -9,15 +9,10 @@
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
model = "D-Link DIR-810L";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -33,10 +28,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power {
power {
label = "dir-810l:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
@@ -46,7 +41,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
 
power2 {
status {
label = "dir-810l:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
@@ -57,62 +52,57 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
factory5g: partition@50000 {
label = "factory5g";
reg = <0x50000 0x10000>;
read-only;
};
 
factory5g: partition@50000 {
label = "factory5g";
reg = <0x50000 0x10000>;
read-only;
};
partition@60000 {
label = "Wolf_Config";
reg = <0x60000 0x10000>;
read-only;
};
 
partition@60000 {
label = "Wolf_Config";
reg = <0x60000 0x10000>;
read-only;
};
partition@70000 {
label = "MyDlink";
reg = <0x70000 0x80000>;
read-only;
};
 
partition@70000 {
label = "MyDlink";
reg = <0x70000 0x80000>;
read-only;
};
partition@e0000 {
label = "Jffs2";
reg = <0xe0000 0x80000>;
read-only;
};
 
partition@e0000 {
label = "Jffs2";
reg = <0xe0000 0x80000>;
read-only;
};
 
partition@170000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x170000 0x690000>;
};
partition@170000 {
label = "firmware";
reg = <0x170000 0x690000>;
};
};
};
@@ -144,11 +134,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
 
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/DIR-860L-B1.dts
@@ -9,13 +9,6 @@
compatible = "dlink,dir-860l-b1", "mediatek,mt7621-soc";
model = "D-Link DIR-860L B1";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
@@ -33,7 +26,7 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power2 {
power2 {
label = "dir-860l-b1:green:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
@@ -49,8 +42,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -71,50 +66,46 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x4000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x4000>;
read-only;
};
radio: partition@34000 {
label = "radio";
reg = <0x34000 0x4000>;
read-only;
};
 
radio: partition@34000 {
label = "radio";
reg = <0x34000 0x4000>;
read-only;
};
factory: partition@38000 {
label = "factory";
reg = <0x38000 0x8000>;
read-only;
};
 
factory: partition@38000 {
label = "factory";
reg = <0x38000 0x8000>;
read-only;
};
partition@40000 {
label = "defaults";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
label = "defaults";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "seama";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -121,21 +112,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x2000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x2000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/DUZUN-DM06.dts
@@ -14,8 +14,10 @@
reg = <0x0 0x4000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -107,39 +109,35 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <60000000>;
m25p,chunked-io = <32>;
m25p,fast-read;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DWR-116-A1.dts
@@ -9,15 +9,10 @@
compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
model = "D-Link DWR-116 A1/A2";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -33,10 +28,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "dwr-116-a1:green:status";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
@@ -59,33 +54,28 @@
&spi0 {
status = "okay";
 
flash@0 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <50000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
 
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
partition@10000 {
label = "firmware";
reg = <0x10000 0x7e0000>;
};
 
partition@10000 {
compatible = "amit,jimage";
label = "firmware";
reg = <0x10000 0x7e0000>;
};
 
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
read-only;
};
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/DWR-512-B.dts
@@ -9,15 +9,10 @@
compatible = "dlink,dwr-512-b", "ralink,rt5350-soc";
model = "D-Link DWR-512 B";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -33,7 +28,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
sms {
@@ -40,7 +35,7 @@
label = "dwr-512-b:green:sms";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
led_status: status {
status {
label = "dwr-512-b:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -81,33 +76,28 @@
&spi0 {
status = "okay";
 
flash@0 {
mx25l6405d@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <30000000>;
m25p,fast-read;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
 
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
partition@10000 {
label = "firmware";
reg = <0x10000 0x7e0000>;
};
 
partition@10000 {
compatible = "amit,jimage";
label = "firmware";
reg = <0x10000 0x7e0000>;
};
 
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
};
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
};
};
};
@@ -115,7 +105,7 @@
&spi1 {
status = "okay";
 
spidev@0 {
spidev@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "siliconlabs,si3210";
/branches/18.06.1/target/linux/ramips/dts/DWR-921-C1.dts
@@ -9,13 +9,10 @@
compatible = "dlink,dwr-921-c1", "ralink,mt7620n-soc";
model = "D-Link DWR-921 C1";
 
aliases {
led-boot = &led_sstrenghg;
led-failsafe = &led_sstrenghg;
};
 
keys {
compatible = "gpio-keys-polled";
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -31,7 +28,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
sms {
@@ -44,7 +41,7 @@
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
 
led_sstrenghg: sstrengthg {
sstrengthg {
label = "dwr-921-c1:green:sigstrength";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
@@ -97,33 +94,28 @@
&spi0 {
status = "okay";
 
flash@0 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
 
partition@0 {
label = "jboot";
reg = <0x0 0x10000>;
read-only;
};
partition@10000 {
label = "firmware";
reg = <0x10000 0xfe0000>;
};
 
partition@10000 {
compatible = "amit,jimage";
label = "firmware";
reg = <0x10000 0xfe0000>;
};
 
config: partition@ff0000 {
label = "config";
reg = <0xff0000 0x10000>;
read-only;
};
config: partition@ff0000 {
label = "config";
reg = <0xff0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/E1700.dts
@@ -19,15 +19,10 @@
compatible = "linksys,e1700", "ralink,mt7620a-soc";
model = "Linksys E1700";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -43,10 +38,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "e1700:green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
@@ -62,38 +57,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -156,6 +146,7 @@
 
&gsw {
mediatek,port4 = "gmac";
mediatek,mt7530 = <1>;
};
 
&wmac {
/branches/18.06.1/target/linux/ramips/dts/ESR-9753.dts
@@ -9,54 +9,42 @@
compatible = "engenius,esr-9753", "ralink,rt3052-soc";
model = "Senao / EnGenius ESR-9753";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "esr-9753:orange:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/EW1200.dts
@@ -9,13 +9,6 @@
compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
model = "EW1200";
 
aliases {
led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -31,8 +24,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -42,10 +37,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_run: run {
status {
label = "ew1200:green:run";
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
};
@@ -53,8 +48,6 @@
usb {
label = "ew1200:green:usb";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
};
@@ -67,38 +60,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -105,21 +94,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/EX2700.dts
@@ -19,21 +19,14 @@
compatible = "netgear,ex2700", "ralink,mt7620a-soc";
model = "Netgear EX2700";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
chosen {
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power_g {
power_g {
label = "ex2700:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -70,8 +63,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -100,38 +95,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x3b0000>;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x40000 0x3b0000>;
};
 
art: partition@3f0000 {
label = "art";
reg = <0x3f0000 0x10000>;
read-only;
};
art: partition@3f0000 {
label = "art";
reg = <0x3f0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/EX3700.dts
@@ -11,21 +11,14 @@
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
model = "Netgear EX3700/EX3800";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
chosen {
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power_g {
power_g {
label = "ex3700:green:power";
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -34,6 +27,7 @@
power_a {
label = "ex3700:amber:power";
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
default-state = "off";
};
 
router_g {
@@ -62,8 +56,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -92,50 +88,45 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x790000>;
};
partition@7e0000 {
label = "board_data";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "board_data";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7f0000 {
label = "nvram";
reg = <0x7f0000 0x10000>;
read-only;
};
partition@7f0000 {
label = "nvram";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -142,13 +133,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0 >;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0 >;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/F5D8235_V1.dts
@@ -11,9 +11,8 @@
compatible = "belkin,f5d8235-v1", "ralink,rt2880-soc";
model = "Belkin F5D8235 v1";
 
aliases {
led-boot = &led_wired_blue;
led-failsafe = &led_wired_blue;
pci@440000 {
status = "ok";
};
 
cfi@1f000000 {
@@ -21,35 +20,30 @@
reg = <0xbc400000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
@@ -100,8 +94,10 @@
realtek,green-ethernet-features;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -117,7 +113,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
internet {
@@ -148,8 +144,6 @@
storage {
label = "f5d8235-v1:blue:storage";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
storage2 {
@@ -167,7 +161,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
 
led_wired_blue: wired {
wired {
label = "f5d8235-v1:blue:wired";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};
@@ -211,34 +205,6 @@
};
};
 
&pci {
status = "okay";
 
usb@11,0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "pci1033,0035";
reg = <0x8800 0 0 0 0>;
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
usb@11,1 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "pci1033,00e0";
reg = <0x8900 0 0 0 0>;
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
};
 
&wmac {
status = "okay";
ralink,mtd-eeprom = <&factory 0x0>;
/branches/18.06.1/target/linux/ramips/dts/F5D8235_V2.dts
@@ -9,45 +9,33 @@
compatible = "belkin,f5d8235-v2", "ralink,rt3052-soc";
model = "Belkin F5D8235 v2";
 
aliases {
led-boot = &led_router;
led-failsafe = &led_router;
led-running = &led_router;
led-upgrade = &led_router;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
uboot: partition@0 {
label = "uboot";
reg = <0x0 0x50000>;
read-only;
};
 
uboot: partition@0 {
label = "uboot";
reg = <0x0 0x50000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x790000>;
};
partition@7e0000 {
label = "nvram";
reg = <0x7e0000 0x10000>;
};
 
partition@7e0000 {
label = "nvram";
reg = <0x7e0000 0x10000>;
};
 
factory: partition@7f0000 {
label = "factory";
reg = <0x7f0000 0x10000>;
};
factory: partition@7f0000 {
label = "factory";
reg = <0x7f0000 0x10000>;
};
};
 
@@ -57,7 +45,7 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
internet {
@@ -80,7 +68,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_router: router {
router {
label = "f5d8235-v2:blue:router";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -88,8 +76,6 @@
storage {
label = "f5d8235-v2:blue:storage";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
storage2 {
@@ -112,7 +98,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
@@ -120,21 +106,10 @@
 
&ethernet {
mtd-mac-address = <&uboot 0x40004>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
};
 
&esw {
ralink,rgmii = <1>;
mediatek,portmap = <0x3f>;
ralink,fct2 = <0x0002500c>;
/*
* ext phy base addr 31, rx/tx clock skew 0,
* turbo mii off, rgmi 3.3v off, port 5 polling off
* port5: enabled, gige, full-duplex, rx/tx-flow-control
* port6: enabled, gige, full-duplex, rx/tx-flow-control
*/
ralink,fpa2 = <0x1f003fff>;
};
 
&wmac {
/branches/18.06.1/target/linux/ramips/dts/F7C027.dts
@@ -9,14 +9,7 @@
compatible = "belkin,f7c027", "ralink,rt5350-soc";
model = "Belkin F7C027";
 
aliases {
led-boot = &led_status_orange;
led-failsafe = &led_status_orange;
led-running = &led_status_orange;
led-upgrade = &led_status_orange;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status {
@@ -29,7 +22,7 @@
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
 
led_status_orange: orange {
orange {
label = "f7c027:orange:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
@@ -40,8 +33,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
top {
@@ -68,63 +63,58 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x770000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x770000>;
};
partition@7c0000 {
label = "firmware2";
reg = <0x7c0000 0x770000>;
};
 
partition@7c0000 {
label = "firmware2";
reg = <0x7c0000 0x770000>;
};
partition@f30000 {
label = "belkin_settings";
reg = <0xf30000 0xa0000>;
};
 
partition@f30000 {
label = "belkin_settings";
reg = <0xf30000 0xa0000>;
};
partition@fd0000 {
label = "unknown";
reg = <0xfd0000 0x10000>;
};
 
partition@fd0000 {
label = "unknown";
reg = <0xfd0000 0x10000>;
};
partition@fe0000 {
label = "nvram";
reg = <0xfe0000 0x10000>;
};
 
partition@fe0000 {
label = "nvram";
reg = <0xfe0000 0x10000>;
};
 
partition@ff0000 {
label = "user_factory";
reg = <0xff0000 0x10000>;
};
partition@ff0000 {
label = "user_factory";
reg = <0xff0000 0x10000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/FIREWRT.dts
@@ -9,13 +9,6 @@
compatible = "firefly,firewrt", "mediatek,mt7621-soc";
model = "Firefly FireWRT";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -25,17 +18,19 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "firewrt:green:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -60,38 +55,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -98,21 +89,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/FONERA20N.dts
@@ -9,51 +9,39 @@
compatible = "fon,fonera20n", "ralink,rt3052-soc";
model = "La Fonera 2.0N";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -61,7 +49,7 @@
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "fonera20n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -69,13 +57,13 @@
usb {
label = "fonera20n:orange:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -107,14 +95,10 @@
};
 
&esw {
#address-cells = <1>;
#size-cells = <0>;
 
mediatek,portmap = <0x2f>;
 
port@0 {
compatible = "swconfig,port";
reg = <0>;
swconfig,segment = "lan";
swconfig,portmap = <0 4>;
};
@@ -121,7 +105,6 @@
 
port@1 {
compatible = "swconfig,port";
reg = <1>;
swconfig,segment = "lan";
swconfig,portmap = <1 3>;
};
@@ -128,7 +111,6 @@
 
port@2 {
compatible = "swconfig,port";
reg = <2>;
swconfig,segment = "lan";
swconfig,portmap = <2 2>;
};
@@ -135,7 +117,6 @@
 
port@3 {
compatible = "swconfig,port";
reg = <3>;
swconfig,segment = "lan";
swconfig,portmap = <3 1>;
};
@@ -142,7 +123,6 @@
 
port@4 {
compatible = "swconfig,port";
reg = <4>;
swconfig,segment = "wan";
swconfig,portmap = <4 0>;
};
/branches/18.06.1/target/linux/ramips/dts/FREESTATION5.dts
@@ -18,35 +18,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
@@ -53,24 +48,20 @@
gpio-export {
compatible = "gpio-export";
 
/*
* Used to enable power-over-ethernet passthrough from port0 to port1.
* Disable passthrough by default to prevent accidental equipment damage.
*/
// Used to enable power-over-ethernet passthrough from port0 to port1.
// Disable passthrough by default to prevent accidental equipment damage.
poe {
gpio-export,name = "poe-passthrough";
gpio-export,output = <1>;
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
gpio-export,output = <1>; // OUT_INIT_HIGH
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; // GPIO 11, ACTIVE_LOW
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
/*
* The following leds are defined in the ArcOS firmware, but reportedly
* not present in the Freestation5 device.
*/
// The following leds are defined in the ArcOS firmware, but reportedly
// not present in the Freestation5 device.
wifi {
label = "freestation5:unknown:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
/branches/18.06.1/target/linux/ramips/dts/GB-PC1.dts
@@ -9,13 +9,6 @@
compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc";
model = "GB-PC1";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -25,8 +18,10 @@
bootargs = "console=ttyS0,57600";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -36,7 +31,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
system {
@@ -44,7 +39,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
status {
label = "gb-pc1:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -69,42 +64,43 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
 
&cpuclock {
compatible = "fixed-clock";
clock-frequency = <900000000>;
};
 
&pcie {
status = "okay";
};
/branches/18.06.1/target/linux/ramips/dts/GB-PC2.dts
@@ -9,13 +9,6 @@
compatible = "gnubee,gb-pc2", "mediatek,mt7621-soc";
model = "GB-PC2";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -25,8 +18,10 @@
bootargs = "console=ttyS0,57600";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -36,7 +31,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
system {
@@ -44,7 +39,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
status {
label = "gb-pc2:green:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -68,11 +63,15 @@
label = "gb-pc2:green:lan3";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
 
};
};
 
&sdhci {
status = "okay";
 
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
&spi0 {
@@ -79,42 +78,43 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
 
&cpuclock {
compatible = "fixed-clock";
clock-frequency = <900000000>;
};
 
&pcie {
status = "okay";
};
@@ -126,7 +126,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag", "rgmii2", "uart3", "wdt";
ralink,group = "jtag", "rgmii3", "uart3", "wdt";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/GL-MT300A.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -35,10 +35,13 @@
label = "gl-mt300a:usb";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -52,12 +55,12 @@
linux,code = <BTN_0>;
};
 
BTN_1 {
BTN_1 {
label = "BTN_1";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
};
};
};
};
 
&gpio0 {
@@ -71,7 +74,7 @@
&gpio2 {
status = "okay";
};
 
&gpio3 {
status = "okay";
};
@@ -80,42 +83,37 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/GL-MT300N-V2.dts
@@ -6,16 +6,9 @@
#include <dt-bindings/input/input.h>
 
/{
compatible = "glinet,gl-mt300n-v2", "mediatek,mt7628an-soc";
compatible = "glinet,gl-mt300n-v2", "ralink,mt7620an-soc";
model = "GL-MT300N-V2";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,10 +18,10 @@
reg = <0x0 0x8000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "gl-mt300n-v2:green:power";
default-state = "on";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
@@ -35,7 +28,7 @@
};
 
wan {
label = "gl-mt300n-v2:green:wan";
label = "gl-mt300n-v2:blue:wan";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
 
@@ -45,8 +38,10 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -78,6 +73,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
 
};
 
&pinctrl {
@@ -102,38 +98,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/GL-MT300N.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -30,10 +30,13 @@
label = "gl-mt300n:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -47,7 +50,7 @@
linux,code = <BTN_0>;
};
 
BTN_1 {
BTN_1 {
label = "BTN_1";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
@@ -66,7 +69,7 @@
&gpio2 {
status = "okay";
};
 
&gpio3 {
status = "okay";
};
@@ -75,42 +78,37 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/GL-MT750.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -30,10 +30,13 @@
label = "gl-mt750:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -47,12 +50,12 @@
linux,code = <BTN_0>;
};
 
BTN_1 {
BTN_1 {
label = "BTN_1";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>;
};
};
};
};
 
&gpio0 {
@@ -66,7 +69,7 @@
&gpio2 {
status = "okay";
};
 
&gpio3 {
status = "okay";
};
@@ -75,42 +78,37 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
};
};
@@ -138,12 +136,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/HC5661.dts
@@ -6,17 +6,10 @@
compatible = "hiwifi,hc5661", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5661";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "hc5661:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/HC5661A.dts
@@ -9,13 +9,6 @@
compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
model = "HiWiFi HC5661A";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,10 +18,10 @@
reg = <0x0 0x8000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "hc5661a:blue:system";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
@@ -42,8 +35,10 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -67,57 +62,53 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "hw_panic";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "hw_panic";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf70000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf70000>;
};
partition@fc0000 {
label = "oem";
reg = <0xfc0000 0x20000>;
read-only;
};
 
partition@fc0000 {
label = "oem";
reg = <0xfc0000 0x20000>;
read-only;
};
bdinfo: partition@fe0000 {
label = "bdinfo";
reg = <0xfe0000 0x10000>;
read-only;
};
 
bdinfo: partition@fe0000 {
label = "bdinfo";
reg = <0xfe0000 0x10000>;
read-only;
};
 
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
read-only;
};
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/HC5761.dts
@@ -6,17 +6,10 @@
compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5761";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "hc5761:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -37,23 +30,3 @@
};
};
};
 
&ehci {
status = "okay";
};
 
&ohci {
status = "okay";
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/HC5861.dts
@@ -6,17 +6,10 @@
compatible = "hiwifi,hc5861", "hiwifi,hc5x61", "ralink,mt7620a-soc";
model = "HiWiFi HC5861";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "hc5861:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -60,14 +53,6 @@
};
};
 
&ehci {
status = "okay";
};
 
&ohci {
status = "okay";
};
 
&ethernet {
status = "okay";
mtd-mac-address = <&factory 0x4>;
@@ -105,15 +90,3 @@
&gsw {
mediatek,port4 = "gmac";
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/HC5962.dts
@@ -9,13 +9,6 @@
compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
model = "HiWiFi HC5962";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,10 +18,10 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "hc5962:white:status";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
@@ -39,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -54,96 +49,92 @@
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x80000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x80000>;
read-only;
};
partition@80000 {
label = "debug";
reg = <0x80000 0x80000>;
read-only;
};
 
partition@80000 {
label = "debug";
reg = <0x80000 0x80000>;
read-only;
};
factory: partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
read-only;
};
 
factory: partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
read-only;
};
partition@140000 {
label = "kernel";
reg = <0x140000 0x200000>;
};
 
partition@140000 {
label = "kernel";
reg = <0x140000 0x200000>;
};
partition@340000 {
label = "ubi";
reg = <0x340000 0x1E00000>;
};
 
partition@340000 {
label = "ubi";
reg = <0x340000 0x1E00000>;
};
partition@2140000 {
label = "hw_panic";
reg = <0x2140000 0x80000>;
read-only;
};
 
partition@2140000 {
label = "hw_panic";
reg = <0x2140000 0x80000>;
read-only;
};
partition@21c0000 {
label = "bdinfo";
reg = <0x21c0000 0x80000>;
read-only;
};
 
partition@21c0000 {
label = "bdinfo";
reg = <0x21c0000 0x80000>;
read-only;
};
partition@2240000 {
label = "backup";
reg = <0x2240000 0x80000>;
read-only;
};
 
partition@2240000 {
label = "backup";
reg = <0x2240000 0x80000>;
read-only;
};
partition@22c0000 {
label = "overly";
reg = <0x22c0000 0x1000000>;
};
 
partition@22c0000 {
label = "overly";
reg = <0x22c0000 0x1000000>;
};
partition@32c0000 {
label = "firmware_backup";
reg = <0x32c0000 0x2000000>;
};
 
partition@32c0000 {
label = "firmware_backup";
reg = <0x32c0000 0x2000000>;
};
partition@52c0000 {
label = "oem";
reg = <0x52c0000 0x200000>;
};
 
partition@52c0000 {
label = "oem";
reg = <0x52c0000 0x200000>;
};
 
partition@54c0000 {
label = "opt";
reg = <0x54c0000 0x2ac0000>;
};
partition@54c0000 {
label = "opt";
reg = <0x54c0000 0x2ac0000>;
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/HC5X61.dtsi
@@ -10,8 +10,10 @@
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -55,60 +57,58 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
partition@fd0000 {
label = "hwf_config";
reg = <0xfd0000 0x10000>;
};
 
partition@fd0000 {
label = "hwf_config";
reg = <0xfd0000 0x10000>;
read-only;
};
bdinfo: partition@fe0000 {
label = "bdinfo";
reg = <0xfe0000 0x10000>;
};
 
bdinfo: partition@fe0000 {
label = "bdinfo";
reg = <0xfe0000 0x10000>;
read-only;
};
 
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
read-only;
};
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
};
};
};
 
&ehci {
status = "okay";
};
 
&ohci {
status = "okay";
};
 
&ethernet {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
@@ -126,10 +126,14 @@
pinctrl-0 = <&pa_pins>;
};
 
&pcie {
status = "okay";
};
 
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "uartf", "wled";
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/HG255D.dts
@@ -9,60 +9,48 @@
compatible = "huawei,hg255d", "ralink,rt3052-soc";
model = "HuaWei HG255D";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x1000000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};
factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};
 
factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};
partition@80000 {
label = "firmware";
reg = <0x80000 0xf60000>;
};
 
partition@80000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x80000 0xf60000>;
};
 
partition@fa0000 {
label = "factory-orig";
reg = <0xfa0000 0x20000>;
read-only;
};
partition@fa0000 {
label = "factory-orig";
reg = <0xfa0000 0x20000>;
read-only;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "hg255d:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -80,8 +68,6 @@
usb {
label = "hg255d:green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
wps {
@@ -95,8 +81,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <10>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/HLKRM04.dts
@@ -37,8 +37,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -61,38 +63,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/HPM.dts
@@ -9,19 +9,14 @@
compatible = "omnima,hpm", "ralink,rt3883-soc";
model = "Omnima HPM";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -31,19 +26,17 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
label = "hpm:orange:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
led_status: status {
status {
label = "hpm:green:status";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
eth {
@@ -93,35 +86,30 @@
compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "config";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "config";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x00050000 0x00fb0000>;
label = "firmware";
};
partition@50000 {
reg = <0x00050000 0x00fb0000>;
label = "firmware";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/HT-TM02.dts
@@ -9,17 +9,10 @@
compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
model = "HooToo HT-TM02";
 
aliases {
led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-running = &led_wlan;
led-upgrade = &led_wlan;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wlan: wlan {
wlan {
label = "ht-tm02:blue:wlan";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -57,38 +52,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/HW550-3G.dts
@@ -9,58 +9,44 @@
compatible = "aztech,hw550-3g", "ralink,rt3052-soc";
model = "Aztech HW550-3G";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "hw550-3g:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
3g {
@@ -68,7 +54,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
status {
label = "hw550-3g:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -79,8 +65,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/IP2202.dts
@@ -9,54 +9,42 @@
compatible = "poray,ip2202", "ralink,rt3052-soc";
model = "Poray IP2202";
 
aliases {
led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_run: run {
run {
label = "ip2202:green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/JHR-N805R.dts
@@ -9,31 +9,26 @@
compatible = "jcg,jhr-n805r", "ralink,rt3050-soc";
model = "JCG JHR-N805R";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "jhr-n805r:blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
reset {
label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
};
 
@@ -50,38 +45,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/JHR-N825R.dts
@@ -9,60 +9,50 @@
compatible = "jcg,jhr-n825r", "ralink,rt3052-soc";
model = "JCG JHR-N825R";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
led_system: system {
system {
label = "jhr-n825r:red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset_wps {
label = "reset_wps";
/branches/18.06.1/target/linux/ramips/dts/JHR-N926R.dts
@@ -9,51 +9,39 @@
compatible = "jcg,jhr-n926r", "ralink,rt3052-soc";
model = "JCG JHR-N926R";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wlan1 {
@@ -71,7 +59,7 @@
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
 
led_system: system {
system {
label = "jhr-n926r:blue:system";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
@@ -100,8 +88,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
/branches/18.06.1/target/linux/ramips/dts/K2G.dts
@@ -10,14 +10,10 @@
model = "Phicomm K2G";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
serial0 = &uartlite;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_blue: blue {
@@ -36,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -52,6 +50,8 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <24000000>;
@@ -61,34 +61,28 @@
#address-cells = <1>;
#size-cells = <1>;
 
partition@0 {
u-boot@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
 
partition@30000 {
u-boot-env@30000 {
reg = <0x30000 0x10000>;
label = "u-boot-env";
read-only;
};
 
factory: partition@40000 {
factory: factory@40000 {
reg = <0x40000 0x10000>;
label = "factory";
read-only;
};
 
partition@50000 {
permanent_config@50000 {
reg = <0x50000 0x50000>;
label = "permanent_config";
read-only;
};
 
partition@a0000 {
compatible = "denx,uimage";
firmware@a0000 {
reg = <0xa0000 0x760000>;
label = "firmware";
};
};
};
@@ -127,13 +121,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/K2P.dts
@@ -9,13 +9,6 @@
compatible = "phicomm,k2p", "mediatek,mt7621-soc";
model = "Phicomm K2P";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
stat_r {
@@ -38,14 +31,16 @@
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
 
led_blue: stat_b {
stat_b {
label = "k2p:blue:status";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -60,44 +55,40 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "permanent_config";
reg = <0x50000 0x50000>;
read-only;
};
 
partition@50000 {
label = "permanent_config";
reg = <0x50000 0x50000>;
read-only;
};
 
partition@a0000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0xa0000 0xf60000>;
};
partition@a0000 {
label = "firmware";
reg = <0xa0000 0xf60000>;
};
};
};
@@ -104,12 +95,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/LINKIT7688.dts
@@ -9,13 +9,6 @@
compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
model = "MediaTek LinkIt Smart 7688";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
chosen {
bootargs = "console=ttyS2,57600";
};
@@ -35,17 +28,19 @@
status = "okay";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
wifi {
label = "linkit-smart-7688:orange:wifi";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -101,37 +96,33 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/M2M.dts
@@ -9,21 +9,14 @@
compatible = "intenso,memory2move", "ralink,rt5350-soc";
model = "Intenso Memory 2 Move";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
chosen {
bootargs = "console=ttyS0,57600n8 root=/dev/mtdblock5";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
wifi {
label = "m2m:blue:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -34,8 +27,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
power {
@@ -56,38 +51,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "Bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "Bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "Config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "Config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "Factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "Factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/M3.dts
@@ -9,24 +9,19 @@
compatible = "poray,m3", "ralink,rt5350-soc";
model = "Poray M3";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "m3:blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -48,38 +43,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/M4-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/M4-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/M4.dtsi
@@ -6,24 +6,19 @@
/ {
compatible = "poray,m4", "ralink,rt5350-soc";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "m4:blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/MAC1200RV2.dts
@@ -9,13 +9,6 @@
compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
model = "Mercury MAC1200R v2";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -25,9 +18,9 @@
reg = <0x0 0x2000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
led_status: status {
status {
label = "mac1200rv2:green:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
@@ -38,47 +31,43 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x1d800>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x1d800>;
};
factory: partition@0x1d800 {
label = "factory_info";
reg = <0x1d800 0x800>;
read-only;
};
 
factory: partition@1d800 {
label = "factory_info";
reg = <0x1d800 0x800>;
read-only;
};
art: partition@0x1e000 {
label = "art";
reg = <0x1e000 0x2000>;
read-only;
};
 
art: partition@1e000 {
label = "art";
reg = <0x1e000 0x2000>;
read-only;
};
partition@20000 {
label = "config";
reg = <0x20000 0x10000>;
};
 
partition@20000 {
label = "config";
reg = <0x20000 0x10000>;
};
partition@30000 {
label = "u-boot2";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot2";
reg = <0x30000 0x10000>;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x40000 0x7c0000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7c0000>;
};
};
};
@@ -96,12 +85,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&art 0x1000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&art 0x1000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MINIEMBPLUG.dts
@@ -9,7 +9,7 @@
compatible = "omnima,miniembplug", "ralink,rt5350-soc";
model = "Omnima MiniEMBPlug";
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wlan {
@@ -20,13 +20,13 @@
mobile {
label = "miniembplug:green:mobile";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -72,38 +72,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MINIEMBWIFI.dts
@@ -9,17 +9,10 @@
compatible = "omnima,miniembwifi", "ralink,rt3052-soc";
model = "Omnima MiniEMBWiFi";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "miniembwifi:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -46,35 +41,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MIR3G.dts
@@ -9,13 +9,6 @@
compatible = "xiaomi,mir3g", "mediatek,mt7621-soc";
model = "Xiaomi Mi Router 3G";
 
aliases {
led-boot = &led_status_blue;
led-failsafe = &led_status_blue;
led-running = &led_status_blue;
led-upgrade = &led_status_blue;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,115200n8";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status_red {
@@ -33,7 +26,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
 
led_status_blue: status_blue {
status_blue {
label = "mir3g:blue:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -57,10 +50,13 @@
label = "mir3g:amber:lan2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,125 +66,117 @@
};
};
 
reg_usb_vbus: reg_usb_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
 
usbpower {
gpio-export,name = "usbpower";
gpio-export,output = <1>;
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
};
};
 
&xhci {
vbus-supply = <&reg_usb_vbus>;
};
 
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "Bootloader";
reg = <0x0 0x80000>;
read-only;
};
 
partition@0 {
label = "Bootloader";
reg = <0x0 0x80000>;
read-only;
};
partition@80000 {
label = "Config";
reg = <0x80000 0x40000>;
};
 
partition@80000 {
label = "Config";
reg = <0x80000 0x40000>;
};
partition@c0000 {
label = "Bdata";
reg = <0xc0000 0x40000>;
read-only;
};
 
partition@c0000 {
label = "Bdata";
reg = <0xc0000 0x40000>;
read-only;
};
factory: partition@100000 {
label = "Factory";
reg = <0x100000 0x40000>;
read-only;
};
 
factory: partition@100000 {
label = "Factory";
reg = <0x100000 0x40000>;
read-only;
};
partition@140000 {
label = "crash";
reg = <0x140000 0x40000>;
};
 
partition@140000 {
label = "crash";
reg = <0x140000 0x40000>;
};
partition@180000 {
label = "crash_syslog";
reg = <0x180000 0x40000>;
};
 
partition@180000 {
label = "crash_syslog";
reg = <0x180000 0x40000>;
};
partition@1c0000 {
label = "reserved0";
reg = <0x1c0000 0x40000>;
read-only;
};
 
partition@1c0000 {
label = "reserved0";
reg = <0x1c0000 0x40000>;
read-only;
};
/* uboot expects to find kernels at 0x200000 & 0x600000
* referred to as system 1 & system 2 respectively.
* a kernel is considered suitable for handing control over
* if its linux magic number exists & uImage CRC are correct.
* If either of those conditions fail, a matching sys'n'_fail flag
* is set in uboot env & a restart performed in the hope that the
* alternate kernel is okay.
* if neither kernel checksums ok and both are marked failed, system 2
* is booted anyway.
*
* Note uboot's tftp flash install writes the transferred
* image to both kernel partitions.
*/
 
/* uboot expects to find kernels at 0x200000 & 0x600000
* referred to as system 1 & system 2 respectively.
* a kernel is considered suitable for handing control over
* if its linux magic number exists & uImage CRC are correct.
* If either of those conditions fail, a matching sys'n'_fail flag
* is set in uboot env & a restart performed in the hope that the
* alternate kernel is okay.
* if neither kernel checksums ok and both are marked failed, system 2
* is booted anyway.
*
* Note uboot's tftp flash install writes the transferred
* image to both kernel partitions.
*/
partition@200000 {
label = "kernel_stock";
reg = <0x200000 0x400000>;
};
 
partition@200000 {
label = "kernel_stock";
reg = <0x200000 0x400000>;
};
partition@600000 {
label = "kernel";
reg = <0x600000 0x400000>;
};
 
partition@600000 {
label = "kernel";
reg = <0x600000 0x400000>;
};
/* ubi partition is the result of squashing
* next consecutive stock partitions:
* - rootfs0 (rootfs partition for stock kernel0),
* - rootfs1 (rootfs partition for stock failsafe kernel1),
* - overlay (used as ubi overlay in stock fw)
* resulting 117,5MiB space for packages.
*/
 
/* ubi partition is the result of squashing
* next consecutive stock partitions:
* - rootfs0 (rootfs partition for stock kernel0),
* - rootfs1 (rootfs partition for stock failsafe kernel1),
* - overlay (used as ubi overlay in stock fw)
* resulting 117,5MiB space for packages.
*/
 
partition@a00000 {
label = "ubi";
reg = <0xa00000 0x7580000>;
};
partition@a00000 {
label = "ubi";
reg = <0xa00000 0x7580000>;
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie0 {
wifi@14c3,7603 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
&pcie1 {
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie1 {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/MIWIFI-MINI.dts
@@ -9,24 +9,16 @@
compatible = "xiaomi,miwifi-mini", "ralink,mt7620a-soc";
model = "Xiaomi MiWiFi Mini";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_blue: blue {
blue {
label = "miwifi-mini:blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
yellow {
@@ -40,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -68,53 +62,48 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
partition@fd0000 {
label = "crash";
reg = <0xfd0000 0x10000>;
};
 
partition@fd0000 {
label = "crash";
reg = <0xfd0000 0x10000>;
};
partition@fe0000 {
label = "reserved";
reg = <0xfe0000 0x10000>;
read-only;
};
 
partition@fe0000 {
label = "reserved";
reg = <0xfe0000 0x10000>;
read-only;
};
 
partition@ff0000 {
label = "Bdata";
reg = <0xff0000 0x10000>;
};
partition@ff0000 {
label = "Bdata";
reg = <0xff0000 0x10000>;
};
};
};
@@ -142,13 +131,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/MIWIFI-NANO.dts
@@ -9,13 +9,6 @@
compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
model = "MiWiFi Nano";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,10 +18,10 @@
reg = <0x0 0x4000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_blue: status_blue {
status_blue {
label = "miwifi-nano:blue:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
@@ -42,8 +35,10 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -76,38 +71,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MLW221.dts
@@ -9,17 +9,10 @@
compatible = "kingston,mlw221", "ralink,mt7620n-soc";
model = "Kingston MLW221";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "mlw221:blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -64,43 +59,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf60000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf60000>;
};
 
partition@fb0000 {
label = "user-config";
reg = <0xfb0000 0x50000>;
};
partition@fb0000 {
label = "user-config";
reg = <0xfb0000 0x50000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MLWG2.dts
@@ -9,17 +9,10 @@
compatible = "kingston,mlwg2", "ralink,mt7620n-soc";
model = "Kingston MLWG2";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "mlwg2:blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -64,43 +59,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf60000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf60000>;
};
 
partition@fb0000 {
label = "user-config";
reg = <0xfb0000 0x50000>;
};
partition@fb0000 {
label = "user-config";
reg = <0xfb0000 0x50000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MOFI3500-3GN.dts
@@ -9,58 +9,44 @@
compatible = "mofinetwork,mofi3500-3gn", "ralink,rt3052-soc";
model = "MoFi Network MOFI3500-3GN";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "mofi3500-3gn:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
3g {
@@ -68,7 +54,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
status {
label = "mofi3500-3gn:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -79,8 +65,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/MPRA1.dts
@@ -9,17 +9,10 @@
compatible = "hame,mpr-a1", "ralink,rt5350-soc";
model = "HAME MPR-A1";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "mpr-a1:blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -63,38 +58,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
@@ -106,7 +96,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf", "led";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/MPRA2.dts
@@ -9,17 +9,10 @@
compatible = "hame,mpr-a2", "ralink,rt5350-soc";
model = "HAME MPR-A2";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "mpr-a2:blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -63,38 +58,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -102,7 +92,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/MR-102N.dts
@@ -9,71 +9,57 @@
compatible = "aximcom,mr-102n", "ralink,rt3052-soc";
model = "AXIMCom MR-102N";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x790000>;
};
partition@7e0000 {
label = "nvram";
reg = <0x7e0000 0x10000>;
};
 
partition@7e0000 {
label = "nvram";
reg = <0x7e0000 0x10000>;
};
 
partition@7f0000 {
label = "nvram_backup";
reg = <0x7f0000 0x10000>;
};
partition@7f0000 {
label = "nvram_backup";
reg = <0x7f0000 0x10000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "mr-102n:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
led_status: status {
status {
label = "mr-102n:amber:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -84,8 +70,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/MT7620a.dts
@@ -9,8 +9,10 @@
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620a + MT7610e evaluation board";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
s2 {
@@ -31,38 +33,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MT7620a_MT7530.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -105,6 +100,7 @@
 
&gsw {
mediatek,port4 = "gmac";
mediatek,mt7530 = <1>;
};
 
&pcie {
/branches/18.06.1/target/linux/ramips/dts/MT7620a_MT7610e.dts
@@ -9,8 +9,10 @@
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620A evaluation board";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -35,38 +37,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <1000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -89,11 +86,3 @@
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/MT7620a_V22SG.dts
@@ -9,8 +9,10 @@
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
model = "Ralink MT7620a V22SG High Power evaluation board";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -27,36 +29,31 @@
};
 
nand {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mtk,mt7620-nand";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
read-only;
};
partition@40000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};
 
partition@40000 {
label = "u-boot-env";
reg = <0x40000 0x20000>;
read-only;
};
factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};
 
factory: partition@60000 {
label = "factory";
reg = <0x60000 0x20000>;
read-only;
};
 
partition@80000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x80000 0x7f80000>;
};
partition@80000 {
label = "firmware";
reg = <0x80000 0x7f80000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MT7621.dts
@@ -19,30 +19,24 @@
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x80000>; /* 64 KB */
};
 
partition@0 {
label = "uboot";
reg = <0x00000 0x80000>; /* 64 KB */
};
partition@80000 {
label = "uboot_env";
reg = <0x80000 0x80000>; /* 64 KB */
};
 
partition@80000 {
label = "uboot_env";
reg = <0x80000 0x80000>; /* 64 KB */
};
partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
};
 
partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
};
 
partition@140000 {
label = "rootfs";
reg = <0x140000 0xec0000>;
};
partition@140000 {
label = "rootfs";
reg = <0x140000 0xec0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/MT7628.dts
@@ -29,38 +29,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MZK-750DHP.dts
@@ -9,14 +9,7 @@
compatible = "planex,mzk-750dhp", "ralink,mt7620a-soc";
model = "Planex MZK-750DHP";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -24,7 +17,7 @@
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "mzk-750dhp:green:power";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
@@ -35,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
s1 {
@@ -65,38 +60,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -127,11 +117,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MZK-DP150N.dts
@@ -9,24 +9,19 @@
compatible = "planex,mzk-dp150n", "ralink,rt5350-soc";
model = "Planex MZK-DP150N";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "mzk-dp150n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -45,38 +40,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MZK-EX300NP.dts
@@ -9,14 +9,7 @@
compatible = "planex,mzk-ex300np", "ralink,mt7620a-soc";
model = "Planex MZK-EX300NP";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -24,7 +17,7 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "mzk-ex300np:green:wps";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
@@ -50,8 +43,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -80,43 +75,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x730000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x730000>;
};
 
partition@780000 {
label = "Udata";
reg = <0x780000 0x80000>;
};
partition@780000 {
label = "Udata";
reg = <0x780000 0x80000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MZK-EX750NP.dts
@@ -9,17 +9,10 @@
compatible = "planex,mzk-ex750np", "ralink,mt7620a-soc";
model = "Planex MZK-EX750NP";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "mzk-ex750np:red:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
@@ -55,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -85,43 +80,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x730000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x730000>;
};
 
partition@780000 {
label = "Udata";
reg = <0x780000 0x80000>;
};
partition@780000 {
label = "Udata";
reg = <0x780000 0x80000>;
};
};
};
@@ -148,11 +138,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/MZK-W300NH2.dts
@@ -9,60 +9,48 @@
compatible = "planex,mzk-w300nh2", "ralink,rt3052-soc";
model = "Planex MZK-W300NH2";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@3e0000 {
label = "cimage";
reg = <0x3e0000 0x20000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x390000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x390000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "mzk-w300nh2:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -78,8 +66,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/MZK-WDPR.dts
@@ -18,41 +18,36 @@
 
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@7f0000 {
label = "Data3G";
reg = <0x7f0000 0x10000>;
read-only;
};
 
partition@7f0000 {
label = "Data3G";
reg = <0x7f0000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x680000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x680000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/MicroWRT.dts
@@ -13,8 +13,10 @@
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -43,38 +45,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "u-boot-env";
reg = <0x20000 0x10000>;
read-only;
};
 
partition@20000 {
label = "u-boot-env";
reg = <0x20000 0x10000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x40000 0xfc0000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0xfc0000>;
};
};
};
@@ -87,6 +84,10 @@
status = "okay";
};
 
&pcie {
status = "okay";
};
 
&ethernet {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
/branches/18.06.1/target/linux/ramips/dts/NA930.dts
@@ -9,53 +9,43 @@
compatible = "sercomm,na930", "ralink,mt7620a-soc";
model = "Sercomm NA930";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS1,57600";
};
 
nand {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mtk,mt7620-nand";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@200000 {
label = "factory";
reg = <0x200000 0x40000>;
read-only;
};
 
partition@200000 {
label = "factory";
reg = <0x200000 0x40000>;
read-only;
};
partition@240000 {
label = "Config";
reg = <0x240000 0x400000>;
read-only;
};
 
partition@240000 {
label = "Config";
reg = <0x240000 0x400000>;
read-only;
};
 
partition@640000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x640000 0x1400000>;
};
partition@640000 {
label = "firmware";
reg = <0x640000 0x1400000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -77,7 +67,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
zwave {
@@ -88,8 +78,6 @@
status {
label = "na930:blue:status";
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
service {
@@ -97,7 +85,7 @@
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "na930:blue:power";
gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/NBG-419N.dts
@@ -9,54 +9,42 @@
compatible = "zyxel,nbg-419n", "ralink,rt3052-soc";
model = "ZyXEL NBG-419N";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "nbg-419n:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/NBG-419N2.dts
@@ -9,58 +9,46 @@
compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc";
model = "ZyXEL NBG-419N v2";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
palmbus@10000000 {
spi@b00 {
status = "okay";
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0 0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "nbg-419n2:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -73,13 +61,13 @@
usb {
label = "nbg-419n2:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -98,6 +86,7 @@
linux,code = <KEY_RFKILL>;
};
};
 
};
 
&pinctrl {
/branches/18.06.1/target/linux/ramips/dts/NCS601W.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -50,7 +45,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/NIXCORE-16M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/NIXCORE-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/NIXCORE.dtsi
@@ -109,20 +109,20 @@
};
 
&gpio0 {
status = "okay";
status = "okay";
};
 
&gpio1 {
status = "okay";
status = "okay";
};
 
&i2c {
status = "okay";
status = "okay";
};
 
&uart {
status = "okay";
reset-names = "gpio uartf";
status = "okay";
reset-names = "gpio uartf";
};
 
&pinctrl {
/branches/18.06.1/target/linux/ramips/dts/NW718.dts
@@ -9,17 +9,10 @@
compatible = "netcore,nw718", "ralink,rt3050-soc";
model = "Netcore NW718";
 
aliases {
led-boot = &led_cpu;
led-failsafe = &led_cpu;
led-running = &led_cpu;
led-upgrade = &led_cpu;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_cpu: cpu {
cpu {
label = "nw718:amber:cpu";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
@@ -27,8 +20,6 @@
usb {
label = "nw718:amber:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
wps {
@@ -37,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -59,38 +52,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x20000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x20000>;
read-only;
};
factory: partition@50000 {
label = "factory";
reg = <0x50000 0x10000>;
read-only;
};
 
factory: partition@50000 {
label = "factory";
reg = <0x50000 0x10000>;
read-only;
};
 
partition@60000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x60000 0x3a0000>;
};
partition@60000 {
label = "firmware";
reg = <0x60000 0x3a0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/Newifi-D1.dts
@@ -9,13 +9,6 @@
compatible = "lenovo,newifi-d1", "mediatek,mt7621-soc";
model = "Newifi-D1";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
status-red {
@@ -38,15 +31,16 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
 
led_blue: status-blue {
statys-blue {
label = "newifi-d1:blue:status";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
default-state = "on";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -76,6 +70,9 @@
 
&sdhci {
status = "okay";
 
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
&spi0 {
@@ -82,39 +79,34 @@
status = "okay";
 
m25p80@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
m25p,fast-read;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
@@ -121,20 +113,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/Newifi-D2.dts
@@ -9,13 +9,6 @@
compatible = "d-team,newifi-d2", "mediatek,mt7621-soc";
model = "Newifi-D2";
 
aliases {
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
led-upgrade = &led_power_blue;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power-amber {
@@ -33,7 +26,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
 
led_power_blue: power-blue {
power-blue {
label = "newifi-d2:blue:power";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
@@ -61,13 +54,13 @@
usb {
label = "newifi-d2:blue:usb";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -99,38 +92,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
@@ -137,20 +126,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/OMEGA2.dtsi
@@ -6,18 +6,11 @@
/ {
compatible = "onion,omega2", "mediatek,mt7628an-soc";
 
aliases {
led-boot = &system_led;
led-failsafe = &system_led;
led-running = &system_led;
led-upgrade = &system_led;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
system_led: system {
@@ -25,8 +18,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -106,37 +101,33 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
};
firmware: partition@50000 {
label = "firmware";
};
};
 
/branches/18.06.1/target/linux/ramips/dts/OY-0001.dts
@@ -9,21 +9,14 @@
compatible = "ohyeah,oy-0001", "ralink,mt7620a-soc";
model = "OY-0001";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: powerled {
powerled {
label = "oy-0001:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -34,8 +27,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
s1 {
@@ -58,38 +53,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -97,7 +87,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled";
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
};
@@ -128,3 +118,7 @@
&ohci {
status = "okay";
};
 
&pcie {
status = "okay";
};
/branches/18.06.1/target/linux/ramips/dts/PBR-D1.dts
@@ -9,13 +9,6 @@
compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc";
model = "PBR-D1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -29,17 +22,16 @@
reg = <0x0 0x8000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "pbr-d1:orange:usb";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
default-state = "off";
};
 
led_power: power {
power {
label = "pbr-d1:orange:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -46,8 +38,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -102,37 +96,33 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x0fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x0fb0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/PBR-M1.dts
@@ -9,13 +9,6 @@
compatible = "d-team,pbr-m1", "mediatek,mt7621-soc";
model = "PBR-M1";
 
aliases {
led-boot = &led_sys;
led-failsafe = &led_sys;
led-running = &led_sys;
led-upgrade = &led_sys;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -37,16 +30,15 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
label = "pbr-m1:blue:power";
gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
led_sys: sys {
sys {
label = "pbr-m1:blue:sys";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +59,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -109,6 +103,8 @@
 
&sdhci {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
&spi0 {
@@ -115,38 +111,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -153,20 +145,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/PSG1208.dts
@@ -9,17 +9,10 @@
compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
model = "Phicomm PSG1208";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wan {
label = "psg1208:white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
@@ -30,8 +23,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -54,38 +49,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@20000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@20000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@40000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -108,13 +98,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/PSG1218.dtsi
@@ -6,8 +6,10 @@
/ {
compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -26,38 +28,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@20000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@20000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@40000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -64,13 +61,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/PSG1218A.dts
@@ -6,19 +6,11 @@
compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.A";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
led_blue: blue {
blue {
label = "psg1218a:blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
yellow {
@@ -28,7 +20,7 @@
 
red {
label = "psg1218a:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/PSG1218B.dts
@@ -6,19 +6,11 @@
compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.B";
 
aliases {
led-boot = &led_blue;
led-failsafe = &led_blue;
led-running = &led_blue;
led-upgrade = &led_blue;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
led_blue: blue {
blue {
label = "psg1218b:blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
default-state = "on";
};
 
yellow {
@@ -28,7 +20,7 @@
 
red {
label = "psg1218b:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/PSR-680W.dts
@@ -9,13 +9,6 @@
compatible = "petatel,psr-680w", "ralink,rt3052-soc";
model = "Petatel PSR-680W Wireless 3G Router";
 
aliases {
led-boot = &led_wan;
led-failsafe = &led_wan;
led-running = &led_wan;
led-upgrade = &led_wan;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,49 +18,46 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wan: wan {
wan {
label = "psr-680w:red:wan";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/PWH2004.dts
@@ -9,51 +9,39 @@
compatible = "prolink,pwh2004", "ralink,rt3052-soc";
model = "Prolink PWH2004";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -61,14 +49,16 @@
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "pwh2004:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/PX-4885-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "devdata";
reg = <0x20000 0x20000>;
read-only;
};
 
partition@20000 {
label = "devdata";
reg = <0x20000 0x20000>;
read-only;
};
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/PX-4885-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "devdata";
reg = <0x20000 0x20000>;
read-only;
};
 
partition@20000 {
label = "devdata";
reg = <0x20000 0x20000>;
read-only;
};
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/PX-4885.dtsi
@@ -6,15 +6,10 @@
/ {
compatible = "7links,px-4885", "ralink,rt5350-soc";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -24,19 +19,17 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
orange {
label = "px-4885:orange:wifi";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
 
storage {
blue {
label = "px-4885:blue:storage";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/R6220.dts
@@ -9,13 +9,6 @@
compatible = "netgear,r6220", "mediatek,mt7621-soc";
model = "Netgear R6220";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,10 +18,10 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "r6220:green:power";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
@@ -36,8 +29,6 @@
usb {
label = "r6220:green:usb";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
 
internet {
@@ -56,8 +47,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -94,64 +87,60 @@
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x100000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x100000>;
read-only;
};
partition@100000 {
label = "SC PID";
reg = <0x100000 0x100000>;
read-only;
};
 
partition@100000 {
label = "SC PID";
reg = <0x100000 0x100000>;
read-only;
};
partition@200000 {
label = "kernel";
reg = <0x200000 0x400000>;
};
 
partition@200000 {
label = "kernel";
reg = <0x200000 0x400000>;
};
partition@600000 {
label = "ubi";
reg = <0x600000 0x1c00000>;
};
 
partition@600000 {
label = "ubi";
reg = <0x600000 0x1c00000>;
};
factory: partition@2e00000 {
label = "factory";
reg = <0x2e00000 0x100000>;
read-only;
};
 
factory: partition@2e00000 {
label = "factory";
reg = <0x2e00000 0x100000>;
read-only;
};
 
partition@4200000 {
label = "reserved";
reg = <0x4200000 0x3c00000>;
read-only;
};
partition@4200000 {
label = "reserved";
reg = <0x4200000 0x3c00000>;
read-only;
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/RB750Gr3.dts
@@ -1,4 +1,3 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
 
#include "mt7621.dtsi"
@@ -8,15 +7,8 @@
 
/ {
compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc";
model = "MikroTik RouterBOARD 750Gr3";
model = "MikroTik RB750Gr3";
 
aliases {
led-boot = &led_usr;
led-failsafe = &led_usr;
led-running = &led_usr;
led-upgrade = &led_usr;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -23,52 +15,54 @@
};
 
chosen {
bootargs = "console=ttyS0,115200";
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
pwr {
label = "rb750gr3:blue:pwr";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
 
led_usr: usr {
usr {
label = "rb750gr3:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
mode {
label = "mode";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
linux,code = <KEY_RFKILL>;
};
 
reset {
label = "reset";
res {
label = "res";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
 
beeper {
compatible = "gpio-beeper";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
};
 
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
 
usb_power {
gpio-export,name = "usb_power";
buzzer {
gpio-export,name = "buzzer";
gpio-export,output = <0>;
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
};
 
usb {
gpio-export,name = "usb";
gpio-export,output = <1>;
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
@@ -78,65 +72,42 @@
&spi0 {
status = "okay";
 
flash@0 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <20000000>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "RouterBoot";
reg = <0x0 0x40000>;
read-only;
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@0 {
label = "bootloader1";
reg = <0x0 0xf000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
hard_config: partition@f000 {
label = "hard_config";
reg = <0xf000 0x1000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
 
partition@10000 {
label = "bootloader2";
reg = <0x10000 0xf000>;
read-only;
};
 
partition@20000 {
label = "soft_config";
reg = <0x20000 0x1000>;
};
 
partition@30000 {
label = "bios";
reg = <0x30000 0x1000>;
read-only;
};
};
 
partition@40000 {
compatible = "mikrotik,minor";
label = "firmware";
reg = <0x040000 0xfc0000>;
};
};
};
};
 
&ethernet {
mtd-mac-address = <&hard_config 0x0010>;
mtd-mac-address = <&factory 0xe000>;
mtd-mac-address-increment = <1>;
};
 
@@ -143,8 +114,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
/* via gpio7 (uart3 group) the PoE status can be read */
ralink,group = "uart2", "uart3", "jtag", "wdt";
ralink,group = "i2c", "uart2", "uart3", "pcie", "rgmii2", "jtag";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/RBM33G.dts
@@ -7,15 +7,8 @@
 
/ {
compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
model = "MikroTik RouterBOARD M33G";
model = "MikroTik RBM33G";
 
aliases {
led-boot = &led_usr;
led-failsafe = &led_usr;
led-running = &led_usr;
led-upgrade = &led_usr;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,17 +18,20 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_usr: usr {
usr {
label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
res {
@@ -98,79 +94,42 @@
status = "okay";
 
w25q40@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <3125000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "routerboot";
reg = <0x0 0xf000>;
read-only;
};
 
partition@0 {
label = "RouterBoot";
reg = <0x0 0x40000>;
read-only;
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
factory: partition@f000 {
label = "factory";
reg = <0xf000 0x71000>;
read-only;
};
 
partition@0 {
label = "bootloader1";
reg = <0x0 0xf000>;
read-only;
};
 
hard_config: partition@f000 {
label = "hard_config";
reg = <0xf000 0x1000>;
read-only;
};
 
partition@10000 {
label = "bootloader2";
reg = <0x10000 0xf000>;
read-only;
};
 
partition@20000 {
label = "soft_config";
reg = <0x20000 0x1000>;
};
 
partition@30000 {
label = "bios";
reg = <0x30000 0x1000>;
read-only;
};
};
};
};
 
w25q128@1 {
w25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <1>;
// XXX empiric value to obtain actual 10MHz SCK at the chip
spi-max-frequency = <3125000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
 
// Region <0x0 0x40000> seems reserved by OEM
 
partition@40000 {
compatible = "mikrotik,minor";
label = "firmware";
reg = <0x040000 0xFC0000>;
};
partition@40000 {
label = "firmware";
reg = <0x040000 0xFC0000>;
};
};
};
 
&ethernet {
mtd-mac-address = <&hard_config 0x0010>;
mtd-mac-address = <&factory 0x0010>;
mtd-mac-address-increment = <1>;
};
 
/branches/18.06.1/target/linux/ramips/dts/RE350.dts
@@ -9,13 +9,6 @@
compatible = "tplink,re350-v1", "mediatek,mt7621-soc";
model = "TP-LINK RE350 v1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
@@ -25,10 +18,10 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "re350-v1:blue:power";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
};
@@ -64,8 +57,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
led {
@@ -98,38 +93,34 @@
status = "okay";
 
w25q64@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x5e0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x5e0000>;
};
config: partition@600000 {
label = "config";
reg = <0x600000 0x50000>;
read-only;
};
 
config: partition@600000 {
label = "config";
reg = <0x600000 0x50000>;
read-only;
};
 
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -136,24 +127,26 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&config 0x10008>;
mtd-mac-address-increment = <1>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&config 0x10008>;
mtd-mac-address-increment = <1>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&config 0x10008>;
mtd-mac-address-increment = <2>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&config 0x10008>;
mtd-mac-address-increment = <2>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/RE6500.dts
@@ -9,13 +9,6 @@
compatible = "linksys,re6500", "mediatek,mt7621-soc";
model = "Linksys RE6500";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -33,14 +26,16 @@
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
 
led_power: power {
power {
label = "re6500:white:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -61,38 +56,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -108,21 +99,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/RP-N53.dts
@@ -9,8 +9,10 @@
compatible = "asus,rp-n53", "ralink,mt7620a-soc";
model = "Asus RP-N53";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
touch {
@@ -38,7 +40,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
backlight {
@@ -101,38 +103,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -166,13 +163,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci1814,5592";
reg = <0x0000 0 0 0 0>;
ralink,2ghz = <0>;
ralink,mtd-eeprom = <&factory 0x8000>;
pcie-bridge {
wifi@1814,5592 {
compatible = "pci1814,5592";
reg = <0x0000 0 0 0 0>;
ralink,2ghz = <0>;
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/RT-AC51U.dts
@@ -9,17 +9,10 @@
compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
model = "Asus RT-AC51U";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "rt-ac51u:blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -27,8 +20,6 @@
usb {
label = "rt-ac51u:blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -37,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,38 +63,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -136,14 +124,3 @@
};
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/RT-G32-B1.dts
@@ -9,8 +9,10 @@
compatible = "asus,rt-g32-b1", "ralink,rt3050-soc";
model = "Asus RT-G32 B1";
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -31,38 +33,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/RT-N10-PLUS.dts
@@ -9,61 +9,51 @@
compatible = "asus,rt-n10-plus", "ralink,rt3050-soc";
model = "Asus RT-N10+";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
read-only;
};
devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
devconf: partition@40000 {
label = "devconf";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wps {
label = "rt-n10-plus:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/RT-N12-PLUS.dts
@@ -9,18 +9,11 @@
compatible = "asus,rt-n12p", "ralink,mt7620n-soc";
model = "Asus RT-N12+";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -33,7 +26,7 @@
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "rt-n12p:green:power";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
@@ -44,8 +37,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -72,38 +67,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/RT-N13U.dts
@@ -9,54 +9,42 @@
compatible = "asus,rt-n13u", "ralink,rt3052-soc";
model = "Asus RT-N13U";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "rt-n13u:blue:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <10>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/RT-N14U.dts
@@ -9,14 +9,7 @@
compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
model = "Asus RT-N14U";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -32,11 +25,9 @@
usb {
label = "rt-n14u:blue:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
led_power: power {
power {
label = "rt-n14u:blue:power";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
@@ -47,8 +38,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -77,38 +70,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/RT-N15.dts
@@ -11,47 +11,35 @@
compatible = "asus,rt-n15", "ralink,rt2880-soc";
model = "Asus RT-N15";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
@@ -61,8 +49,10 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -78,10 +68,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "rt-n15:blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/RT-N56U.dts
@@ -9,46 +9,34 @@
compatible = "asus,rt-n56u", "ralink,rt3883-soc";
model = "Asus RT-N56U";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
partition@50000 {
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
};
 
@@ -59,8 +47,10 @@
realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -76,10 +66,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "rt-n56u:blue:power";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
@@ -124,15 +114,26 @@
 
&pci {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
&pci1 {
status = "okay";
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
 
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
host-bridge {
pci-bridge@1 {
status = "okay";
 
wifi@1814,3091 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi
@@ -3,10 +3,10 @@
/ {
compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
 
aliases {
serial0 = &uartlite;
serial1 = &uart;
};
aliases {
serial0 = &uartlite;
serial1 = &uart;
};
};
 
 
@@ -14,38 +14,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -57,7 +52,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag";
ralink,group = "jtag", "rgmii", "mdio";
ralink,function = "gpio";
};
uartf_gpio {
/branches/18.06.1/target/linux/ramips/dts/RUT5XX.dts
@@ -9,24 +9,19 @@
compatible = "teltonika,rut5xx", "ralink,rt3050-soc";
model = "Teltonika RUT5XX";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "rut5xx:green:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -41,38 +36,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/SAP-G3200U3.dts
@@ -18,19 +18,19 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "sap-g3200u3:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -51,44 +51,40 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
read-only;
};
partition@31000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
 
partition@31000 {
label = "config";
reg = <0x31000 0xf000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -95,21 +91,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/SK-WB8.dts
@@ -8,13 +8,6 @@
compatible = "samknows,whitebox-v8", "mediatek,mt7621-soc";
model = "SamKnows Whitebox 8";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -24,10 +17,10 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wps {
label = "sk-wb8:green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -35,13 +28,13 @@
usb {
label = "sk-wb8:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
wps {
label = "wps";
@@ -60,57 +53,56 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/SL-R7205.dts
@@ -9,61 +9,51 @@
compatible = "skyline,sl-r7205", "ralink,rt3052-soc";
model = "Skyline SL-R7205 Wireless 3G Router";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
wifi {
label = "sl-r7205:green:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/TEW-638APB-V2.dts
@@ -9,52 +9,42 @@
compatible = "trendnet,tew-638apb-v2", "ralink,rt3050-soc";
model = "TRENDnet TEW-638APB v2";
 
aliases {
led-boot = &led_wps_green;
led-failsafe = &led_wps_green;
led-running = &led_wps_green;
led-upgrade = &led_wps_green;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x400000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,7 +60,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -78,7 +68,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_wps_green: wps2 {
wps2 {
label = "tew-638apb-v2:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/TEW-691GR.dts
@@ -9,51 +9,41 @@
compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
model = "TRENDnet TEW-691GR";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
partition@50000 {
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -75,10 +65,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wps {
label = "tew-691gr:green:wps";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/TEW-692GR.dts
@@ -9,51 +9,41 @@
compatible = "trendnet,tew-692gr", "ralink,rt3883-soc";
model = "TRENDnet TEW-692GR";
 
aliases {
led-boot = &led_wps_green;
led-failsafe = &led_wps_green;
led-running = &led_wps_green;
led-upgrade = &led_wps_green;
};
 
nor-flash@1c000000 {
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
partition@50000 {
reg = <0x00050000 0x007b0000>;
label = "firmware";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
reset {
@@ -69,7 +59,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -77,7 +67,7 @@
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
 
led_wps_green: wps2 {
wps2 {
label = "tew-692gr:green:wps";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
@@ -130,15 +120,26 @@
 
&pci {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
&pci1 {
status = "okay";
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
 
wifi@0,0 {
compatible = "pci0,0";
reg = < 0x10000 0 0 0 0 >;
ralink,2ghz = <0>;
host-bridge {
pci-bridge@1 {
status = "okay";
 
wifi@0,0 {
compatible = "pci0,0";
reg = < 0x10000 0 0 0 0 >;
ralink,2ghz = <0>;
};
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/TEW-714TRU.dts
@@ -9,14 +9,12 @@
compatible = "trendnet,tew-714tru", "ralink,rt5350-soc";
model = "TRENDnet TEW714TRU";
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "tew-714tru:red:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -25,21 +23,23 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
reset {
label = "reset";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
 
wps {
label = "wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
wps {
label = "wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};
 
gpio_export {
@@ -62,38 +62,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/TINY-AC.dts
@@ -13,14 +13,12 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "tiny-ac:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -27,10 +25,13 @@
label = "tiny-ac:orange:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -38,6 +39,7 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
 
};
 
gpio_export {
@@ -68,38 +70,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -147,6 +144,7 @@
 
&gsw {
mediatek,port4 = "gmac";
mediatek,mt7530 = <1>;
};
 
&pcie {
@@ -161,11 +159,3 @@
};
};
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
/branches/18.06.1/target/linux/ramips/dts/TL-MR3420V5.dts
@@ -9,15 +9,10 @@
compatible = "tplink,tl-mr3420-v5", "mediatek,mt7628an-soc";
model = "TP-Link TL-MR3420 v5";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -33,7 +28,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -41,7 +36,7 @@
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "tl-mr3420-v5:green:power";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
@@ -49,8 +44,6 @@
usb {
label = "tl-mr3420-v5:green:usb";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wan {
/branches/18.06.1/target/linux/ramips/dts/TL-WR840NV4.dts
@@ -9,15 +9,10 @@
compatible = "tplink,tl-wr840n-v4", "mediatek,mt7628an-soc";
model = "TP-Link TL-WR840N v4";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -27,7 +22,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -35,7 +30,7 @@
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "tl-wr840n-v4:green:power";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/TL-WR840NV5.dts
@@ -9,13 +9,6 @@
compatible = "tplink,tl-wr840n-v5", "mediatek,mt7628an-soc";
model = "TP-Link TL-WR840N v5";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,8 +18,10 @@
reg = <0x0 0x4000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -36,10 +31,10 @@
};
};
/* LED used is dual-color,dual lead LED */
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power {
power {
label = "tl-wr840n-v5:green:power";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
@@ -55,32 +50,28 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x3d0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x3d0000>;
};
 
factory: partition@3f0000 {
label = "factory";
reg = <0x3f0000 0x10000>;
read-only;
};
factory: partition@3f0000 {
label = "factory";
reg = <0x3f0000 0x10000>;
read-only;
};
};
};
@@ -96,7 +87,7 @@
&wmac {
status = "okay";
mtd-mac-address = <&factory 0xf100>;
mediatek,mtd-eeprom = <&factory 0x0>;
mediatek,mtd-eeprom = <&factory 0x10000>;
};
 
&ethernet {
/branches/18.06.1/target/linux/ramips/dts/TL-WR841NV13.dts
@@ -9,15 +9,10 @@
compatible = "tplink,tl-wr841n-v13", "mediatek,mt7628an-soc";
model = "TP-Link TL-WR841N v13";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -33,10 +28,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "tl-wr841n-v13:green:power";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/TL-WR842NV5.dts
@@ -9,15 +9,10 @@
compatible = "tplink,tl-wr842n-v5", "mediatek,mt7628an-soc";
model = "TP-Link TL-WR842N v5";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -33,7 +28,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -41,7 +36,7 @@
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "tl-wr842n-v5:green:power";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
@@ -49,8 +44,6 @@
usb {
label = "tl-wr842n-v5:green:usb";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wan {
/branches/18.06.1/target/linux/ramips/dts/TL-WR902ACV3.dts
@@ -9,15 +9,10 @@
compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc";
model = "TP-Link TL-WR902AC v3";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -45,7 +40,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -53,7 +48,7 @@
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
};
 
led_power: power {
power {
label = "tl-wr902ac-v3:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -61,8 +56,6 @@
usb {
label = "tl-wr902ac-v3:green:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wan {
@@ -101,14 +94,15 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
pcie-bridge {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x28000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xf100>;
mtd-mac-address-increment = <(-1)>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/TPLINK-8M.dtsi
@@ -15,38 +15,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "boot";
reg = <0x0 0x20000>;
read-only;
};
 
partition@0 {
label = "boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7a0000>;
};
 
partition@20000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x20000 0x7a0000>;
};
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
 
partition@7c0000 {
label = "config";
reg = <0x7c0000 0x10000>;
read-only;
};
 
factory: partition@7d0000 {
label = "factory";
reg = <0x7d0000 0x30000>;
read-only;
};
factory: partition@7d0000 {
label = "factory";
reg = <0x7d0000 0x30000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/Timecloud.dts
@@ -9,13 +9,6 @@
compatible = "thunder,timecloud", "mediatek,mt7621-soc";
model = "Thunder Timecloud";
 
aliases {
led-boot = &led_statuso;
led-failsafe = &led_statuso;
led-running = &led_statuso;
led-upgrade = &led_statuso;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
statw {
@@ -33,14 +26,17 @@
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
 
led_statuso: stato {
stato {
label = "timecloud:orange:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
 
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -59,6 +55,9 @@
 
&sdhci {
status = "okay";
 
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
&spi0 {
@@ -65,38 +64,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/U25AWF-H1.dts
@@ -9,15 +9,10 @@
compatible = "kimax,u25awf-h1","ralink,mt7620a-soc";
model = "Kimax U25AWF-H1";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -27,10 +22,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
wifi {
label = "u25awf:red:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
@@ -54,38 +49,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/U7621-06-256M-16M.dts
@@ -53,38 +53,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <14000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
firmware: partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/U7621-06.dtsi
@@ -40,13 +40,6 @@
/ {
compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -62,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -73,10 +68,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "u7621-06:green:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
@@ -99,6 +94,8 @@
 
&sdhci {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
&pcie {
/branches/18.06.1/target/linux/ramips/dts/U7628-01-128M-16M.dts
@@ -50,38 +50,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <12000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "config";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/U7628-01.dtsi
@@ -40,19 +40,14 @@
/ {
compatible = "unielec,u7628-01", "mediatek,mt7628an-soc";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -61,10 +56,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "u7628-01:green:power";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
@@ -102,8 +97,6 @@
usb {
label = "u7628-01:green:usb";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/UBNT-ER-e50.dtsi
@@ -15,8 +15,10 @@
bootargs = "console=ttyS0,57600";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -34,42 +36,36 @@
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x80000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x80000>;
read-only;
};
partition@80000 {
label = "u-boot-env";
reg = <0x80000 0x60000>;
read-only;
};
 
partition@80000 {
label = "u-boot-env";
reg = <0x80000 0x60000>;
read-only;
};
factory: partition@e0000 {
label = "factory";
reg = <0xe0000 0x60000>;
};
 
factory: partition@e0000 {
label = "factory";
reg = <0xe0000 0x60000>;
};
partition@140000 {
label = "kernel1";
reg = <0x140000 0x300000>;
};
 
partition@140000 {
label = "kernel1";
reg = <0x140000 0x300000>;
};
partition@440000 {
label = "kernel2";
reg = <0x440000 0x300000>;
};
 
partition@440000 {
label = "kernel2";
reg = <0x440000 0x300000>;
};
 
partition@740000 {
label = "ubi";
reg = <0x740000 0xf7c0000>;
};
partition@740000 {
label = "ubi";
reg = <0x740000 0xf7c0000>;
};
};
 
@@ -83,29 +79,24 @@
};
 
&spi0 {
/*
* This board has 2Mb spi flash soldered in and visible
* from manufacturer's firmware.
* But this SoC shares spi and nand pins,
* and current driver doesn't handle this sharing well
*/
/* This board has 2Mb spi flash soldered in and visible
from manufacturer's firmware.
But this SoC shares spi and nand pins,
and current driver does't handle this sharing well */
status = "disabled";
 
m25p80@1 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <1>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
 
partition@0 {
label = "spi";
reg = <0x0 0x200000>;
read-only;
};
partition@0 {
label = "spi";
reg = <0x0 0x200000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/UR-326N4G.dts
@@ -9,51 +9,39 @@
compatible = "upvel,ur-326n4g", "ralink,rt3052-soc";
model = "UPVEL UR-326N4G";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3g {
@@ -71,7 +59,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "ur-326n4g:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
@@ -82,8 +70,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
/branches/18.06.1/target/linux/ramips/dts/UR-336UN.dts
@@ -9,51 +9,39 @@
compatible = "upvel,ur-336un", "ralink,rt3052-soc";
model = "UPVEL UR-336UN";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3g {
@@ -71,7 +59,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "ur-336un:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
@@ -82,8 +70,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
/branches/18.06.1/target/linux/ramips/dts/V11STFE.dts
@@ -9,11 +9,14 @@
compatible = "ralink,v11st-fe", "ralink,rt2880-soc";
model = "Ralink V11ST-FE";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
pci@440000 {
status = "okay";
 
host-bridge {
pci-bridge@1 {
status = "okay";
};
};
};
 
nor-flash@1c000000 {
@@ -20,40 +23,37 @@
compatible = "cfi-flash";
reg = <0x1c000000 0x800000>;
bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
 
partition@0 {
reg = <0x0 0x0030000>;
label = "u-boot";
read-only;
};
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
 
partition@30000 {
reg = <0x00030000 0x00010000>;
label = "u-boot-env";
read-only;
};
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
factory: partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
reg = <0x00050000 0x003b0000>;
label = "firmware";
};
partition@50000 {
reg = <0x00050000 0x003b0000>;
label = "firmware";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -63,10 +63,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "v11st-fe:green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -81,10 +81,6 @@
status = "okay";
};
 
&pci {
status = "okay";
};
 
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
/branches/18.06.1/target/linux/ramips/dts/V22RW-2X2.dts
@@ -9,54 +9,42 @@
compatible = "ralink,v22rw-2x2", "ralink,rt3052-soc";
model = "Ralink AP-RT3052-V22RW-2X2";
 
aliases {
led-boot = &led_security;
led-failsafe = &led_security;
led-running = &led_security;
led-upgrade = &led_security;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_security: security {
security {
label = "v22rw-2x2:green:security";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/VAR11N-300.dts
@@ -9,24 +9,19 @@
compatible = "vonets,var11n-300", "ralink,mt7620n-soc";
model = "Vonets VAR11N-300";
 
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_system: system {
system {
label = "var11n-300:blue:system";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -45,38 +40,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/VOCORE-16M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/VOCORE-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/VOCORE.dtsi
@@ -5,13 +5,6 @@
/ {
compatible = "vocore,vocore", "ralink,rt5350-soc";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
gpio-export {
compatible = "gpio-export";
#size-cells = <0>;
@@ -138,10 +131,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
/* UARTF_RXD */
label = "vocore:green:status";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
/branches/18.06.1/target/linux/ramips/dts/VOCORE2.dts
@@ -8,17 +8,10 @@
compatible = "vocore,vocore2", "mediatek,mt7628an-soc";
model = "VoCore2";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "vocore2:fuchsia:status";
gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
};
@@ -29,38 +22,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/VOCORE2LITE.dts
@@ -8,17 +8,10 @@
compatible = "vocore,vocore2lite", "vocore,vocore2", "mediatek,mt7628an-soc";
model = "VoCore2-Lite";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "vocore2lite:green:status";
gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
};
@@ -29,38 +22,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/VR500.dts
@@ -9,13 +9,6 @@
compatible = "planex,vr500", "mediatek,mt7621-soc";
model = "Planex VR500";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@ -25,17 +18,19 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "vr500:green:power";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -50,38 +45,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3fb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/W06.dts
@@ -14,7 +14,7 @@
reg = <0x0 0x4000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -33,8 +33,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -70,44 +72,40 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xeb0000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xeb0000>;
};
 
partition@f00000 {
label = "user-data";
reg = <0xf00000 0x100000>;
read-only;
};
partition@f00000 {
label = "user-data";
reg = <0xf00000 0x100000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/W150M.dts
@@ -9,51 +9,39 @@
compatible = "tenda,w150m", "ralink,rt3050-soc";
model = "Tenda W150M";
 
aliases {
led-boot = &led_ap;
led-failsafe = &led_ap;
led-running = &led_ap;
led-upgrade = &led_ap;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3c8000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3c8000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3grouter {
@@ -61,7 +49,7 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_ap: ap {
ap {
label = "w150m:blue:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -87,8 +75,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/W2914NSV2.dts
@@ -10,14 +10,17 @@
reg = <0x0 0x8000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
// Only USB LED is connected to GPIO.
// All of other LEDs are connected directly to
// switch, WiFi chip, Vcc, so they are not controllable
// via GPIO
 
usb {
label = "w2914nsv2:green:usb";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/W2914NSV2.dtsi
@@ -10,8 +10,10 @@
bootargs = "console=ttyS0,57600";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -36,38 +38,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -74,22 +72,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie0 {
wifi@14c3,7603 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
&pcie1 {
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie1 {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/W306R_V20.dts
@@ -9,54 +9,42 @@
compatible = "tenda,w306r-v2", "ralink,rt3052-soc";
model = "Tenda W306R V2.0";
 
aliases {
led-boot = &led_sys;
led-failsafe = &led_sys;
led-running = &led_sys;
led-upgrade = &led_sys;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_sys: sys {
sys {
label = "w306r-v20:green:sys";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -67,8 +55,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/W502U.dts
@@ -9,13 +9,6 @@
compatible = "alfanetworks,w502u", "ralink,rt3052-soc";
model = "ALFA Networks W502U";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -25,56 +18,51 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "w502u:blue:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
led_wps: wps {
wps {
label = "w502u:blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/WCR-1166DS.dts
@@ -9,15 +9,10 @@
compatible = "buffalo,wcr-1166ds", "mediatek,mt7628an-soc";
model = "Buffalo WCR-1166DS";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
aoss {
@@ -40,7 +35,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
router_o {
@@ -78,7 +73,7 @@
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wcr-1166ds:green:power";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
@@ -100,13 +95,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
@@ -123,55 +118,51 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7c0000>;
};
 
partition@50000 {
compatible = "openwrt,trx";
label = "firmware";
reg = <0x50000 0x7c0000>;
};
partition@810000 {
label = "firmware2";
reg = <0x810000 0x7c0000>;
};
 
partition@810000 {
label = "firmware2";
reg = <0x810000 0x7c0000>;
};
partition@fd0000 {
label = "glbcfg";
reg = <0xfd0000 0x10000>;
read-only;
};
 
partition@fd0000 {
label = "glbcfg";
reg = <0xfd0000 0x10000>;
read-only;
};
 
partition@fe0000 {
label = "board_data";
reg = <0xfe0000 0x10000>;
read-only;
};
partition@fe0000 {
label = "board_data";
reg = <0xfe0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WCR150GN.dts
@@ -9,68 +9,56 @@
compatible = "sparklan,wcr150gn", "ralink,rt3050-soc";
model = "Sparklan WCR-150GN";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
user {
label = "wcr-150gn:amber:user";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
led_power: power {
power {
label = "wcr-150gn:amber:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/WD03.dts
@@ -1,12 +1,12 @@
/dts-v1/;
 
#include "mt7620n.dtsi"
#include "mt7620a.dtsi"
 
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
 
/ {
compatible = "ravpower,wd03", "ralink,mt7620n-soc";
compatible = "ravpower,wd03", "ralink,mt7620a-soc";
model = "Ravpower WD03";
 
chosen {
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
green-wifi {
@@ -28,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -48,46 +50,37 @@
status = "okay";
};
 
&i2c {
status = "okay";
};
 
&spi0 {
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WE1026-5G-16M.dts
@@ -44,38 +44,33 @@
status = "okay";
 
en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
firmware: partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WE1026-5G.dtsi
@@ -43,7 +43,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
lan {
label = "we1026-5g:green:lan";
@@ -53,8 +53,6 @@
usb {
label = "we1026-5g:green:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -63,8 +61,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -113,13 +113,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WF-2881.dts
@@ -9,13 +9,6 @@
compatible = "netis,wf-2881", "mediatek,mt7621-soc";
model = "NETIS WF-2881";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,24 +18,24 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
usb {
label = "wf-2881:green:usb";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
 
led_wps: wps {
wps {
label = "wf-2881:green:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -56,60 +49,55 @@
&nand {
status = "okay";
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
read-only;
};
partition@80000 {
label = "config";
reg = <0x80000 0x80000>;
read-only;
};
 
partition@80000 {
label = "config";
reg = <0x80000 0x80000>;
read-only;
};
factory: partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
read-only;
};
 
factory: partition@100000 {
label = "factory";
reg = <0x100000 0x40000>;
read-only;
};
 
partition@140000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x140000 0x7E40000>;
};
partition@140000 {
label = "firmware";
reg = <0x140000 0x7E40000>;
};
};
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WHR-1166D.dts
@@ -9,14 +9,7 @@
compatible = "buffalo,whr-1166d", "ralink,mt7620a-soc";
model = "Buffalo WHR-1166D";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
@@ -29,7 +22,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power2 {
power2 {
label = "whr-1166d:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -55,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -95,38 +90,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -170,13 +160,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci0,0";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
wifi@0,0 {
compatible = "pci0,0";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WHR-300HP2.dts
@@ -9,14 +9,7 @@
compatible = "buffalo,whr-300hp2", "ralink,mt7620a-soc";
model = "Buffalo WHR-300HP2";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
@@ -29,7 +22,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power2 {
power2 {
label = "whr-300hp2:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -55,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -95,38 +90,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WHR-600D.dts
@@ -9,14 +9,7 @@
compatible = "buffalo,whr-600d", "ralink,mt7620a-soc";
model = "Buffalo WHR-600D";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power {
@@ -29,7 +22,7 @@
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power2 {
power2 {
label = "whr-600d:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -55,8 +48,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -95,38 +90,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -157,12 +147,12 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci1814,5592";
reg = <0x0000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
pcie-bridge {
wifi@1814,5592 {
compatible = "pci1814,5592";
reg = <0x0000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WHR-G300N.dts
@@ -9,59 +9,48 @@
compatible = "buffalo,whr-g300n", "ralink,rt3052-soc";
model = "Buffalo WHR-G300N";
 
aliases {
led-boot = &led_diag;
led-failsafe = &led_diag;
led-upgrade = &led_diag;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3a0000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3a0000>;
};
 
partition@3f0000 {
label = "user";
reg = <0x3f0000 0x10000>;
read-only;
};
partition@3f0000 {
label = "user";
reg = <0x3f0000 0x10000>;
read-only;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_diag: diag {
diag {
label = "whr-g300n:red:diag";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -77,8 +66,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/WIDORA-NEO-16M.dts
@@ -14,37 +14,33 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x0fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x0fb0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WIDORA-NEO-32M.dts
@@ -14,37 +14,33 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WIDORA-NEO.dtsi
@@ -6,13 +6,6 @@
/ {
compatible = "widora,neo", "mediatek,mt7628an-soc";
 
aliases {
led-boot = &led_wifi;
led-failsafe = &led_wifi;
led-running = &led_wifi;
led-upgrade = &led_wifi;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -22,10 +15,10 @@
reg = <0x0 0x8000000>;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wifi: wifi {
wifi {
label = "widora:orange:wifi";
gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";
@@ -32,8 +25,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
/branches/18.06.1/target/linux/ramips/dts/WITI.dtsi
@@ -24,8 +24,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -44,37 +46,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -81,23 +79,25 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xe000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xe000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
mtd-mac-address = <&factory 0xe000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
mtd-mac-address = <&factory 0xe000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WIZARD8800.dts
@@ -19,38 +19,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -58,7 +53,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "uartf";
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/WIZFI630A.dts
@@ -9,21 +9,14 @@
compatible = "wiznet,wizfi630a", "ralink,rt5350-soc";
model = "WIZnet WizFi630A";
 
aliases {
led-boot = &led_run;
led-failsafe = &led_run;
led-running = &led_run;
led-upgrade = &led_run;
};
 
chosen {
bootargs = "console=ttyS1,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_run: run {
run {
label = "wizfi630a::run";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
@@ -44,8 +37,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -59,7 +54,7 @@
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
 
scm1 {
label = "SCM1";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
@@ -82,42 +77,37 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
partition@0 {
#size-cells = <1>;
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
#size-cells = <1>;
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
#size-cells = <1>;
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
#size-cells = <1>;
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
#size-cells = <1>;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
#size-cells = <1>;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
#size-cells = <1>;
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
#size-cells = <1>;
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WL-330N.dts
@@ -9,14 +9,7 @@
compatible = "asus,wl-330n", "ralink,rt3050-soc";
model = "Asus WL-330N";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
link {
@@ -24,14 +17,16 @@
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wl-330n:blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -52,38 +47,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WL-330N3G.dts
@@ -9,14 +9,7 @@
compatible = "asus,wl-330n3g", "ralink,rt3050-soc";
model = "Asus WL-330N3G";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3g {
@@ -29,14 +22,16 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wl-330n3g:blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -57,38 +52,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WL-351.dts
@@ -9,54 +9,42 @@
compatible = "sitecom,wl-351", "ralink,rt3052-soc";
model = "Sitecom WL-351 v1 002";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "wl-351:amber:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -72,8 +60,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/WL-WN575A3.dts
@@ -17,8 +17,10 @@
reg = <0x0 0x4000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -34,7 +36,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi-high {
@@ -62,7 +64,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
ralink,group = "i2c", "wled_an";
ralink,function = "gpio";
};
};
@@ -70,13 +72,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
@@ -83,39 +85,35 @@
&spi0 {
status = "okay";
 
flash@0 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -122,9 +120,10 @@
 
&wmac {
status = "okay";
ralink,mtd-eeprom = <&factory 0x4>;
};
 
&ethernet {
mtd-mac-address = <&factory 0x28>;
mtd-mac-address = <&factory 0x2e>;
mediatek,portmap = "llllw";
};
/branches/18.06.1/target/linux/ramips/dts/WLI-TX4-AG300N.dts
@@ -11,52 +11,42 @@
compatible = "buffalo,wli-tx4-ag300n", "ralink,rt2880-soc";
model = "Buffalo WLI-TX4-AG300N";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -78,7 +68,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
diag {
@@ -86,7 +76,7 @@
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wli-tx4-ag300n:blue:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
/branches/18.06.1/target/linux/ramips/dts/WLR-6000.dts
@@ -9,15 +9,10 @@
compatible = "sitecom,wlr-6000", "ralink,rt3883-soc";
model = "Sitecom WLR-6000";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -27,10 +22,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "wlr-6000:red:power";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
@@ -102,57 +97,52 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <8600000>;
m25p,fast-read;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x713000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x713000>;
};
partition@763000 {
label = "manufacture";
reg = <0x763000 0x7D000>;
read-only;
};
 
partition@763000 {
label = "manufacture";
reg = <0x763000 0x7D000>;
read-only;
};
partition@7E0000 {
label = "backup";
reg = <0x7E0000 0x10000>;
read-only;
};
 
partition@7E0000 {
label = "backup";
reg = <0x7E0000 0x10000>;
read-only;
};
 
partition@7F0000 {
label = "storage";
reg = <0x7F0000 0x10000>;
read-only;
};
partition@7F0000 {
label = "storage";
reg = <0x7F0000 0x10000>;
read-only;
};
};
};
@@ -159,15 +149,26 @@
 
&pci {
status = "okay";
};
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
&pci1 {
status = "okay";
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
 
wifi@0,0 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
host-bridge {
pci-bridge@1 {
status = "okay";
 
wifi@1814,3091 {
compatible = "pci1814,3091";
reg = <0x10000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WMDR-143N.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x00010000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x00010000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WMR-300.dts
@@ -9,14 +9,7 @@
compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
model = "Buffalo WMR-300";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
aoss1 {
@@ -29,14 +22,16 @@
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
 
led_status: status {
power {
label = "wmr-300:green:status";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -61,38 +56,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WN-GX300GR.dts
@@ -9,13 +9,6 @@
compatible = "iodata,wn-gx300gr", "mediatek,mt7621-soc";
model = "I-O DATA WN-GX300GR";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
@@ -25,10 +18,10 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "wn-gx300gr:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -39,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -75,62 +70,58 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "Bootloader";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "Bootloader";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "Config";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "Config";
reg = <0x30000 0x10000>;
read-only;
};
Factory: partition@40000 {
label = "Factory";
reg = <0x40000 0x10000>;
read-only;
};
 
Factory: partition@40000 {
label = "Factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "iNIC_rf";
reg = <0x50000 0x10000>;
read-only;
};
 
partition@50000 {
label = "iNIC_rf";
reg = <0x50000 0x10000>;
read-only;
};
partition@60000 {
label = "firmware";
reg = <0x60000 0x770000>;
};
 
partition@60000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x60000 0x770000>;
};
partition@7d0000 {
label = "Key";
reg = <0x7d0000 0x10000>;
read-only;
};
 
partition@7d0000 {
label = "Key";
reg = <0x7d0000 0x10000>;
read-only;
};
partition@7e0000 {
label = "backup";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7e0000 {
label = "backup";
reg = <0x7e0000 0x10000>;
read-only;
};
 
partition@7f0000 {
label = "storage";
reg = <0x7f0000 0x10000>;
read-only;
};
partition@7f0000 {
label = "storage";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
@@ -150,12 +141,13 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&Factory 0x0>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&Factory 0x0>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WN3000RPV3.dts
@@ -11,21 +11,14 @@
compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
model = "Netgear WN3000RPv3";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
chosen {
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power_g {
power_g {
label = "wn3000rpv3:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -72,8 +65,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -98,38 +93,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7b0000>;
};
 
partition@40000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x40000 0x7b0000>;
};
 
art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x10000>;
read-only;
};
art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x10000>;
read-only;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WNCE2001.dts
@@ -9,21 +9,14 @@
compatible = "netgear,wnce2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power_green: power-green {
power-green {
label = "wnce2001:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -44,8 +37,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -78,55 +73,50 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
 
factory: partition@30000 {
label = "factory";
reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "config";
reg = <0x40000 0x20000>;
read-only;
};
 
partition@40000 {
label = "config";
reg = <0x40000 0x20000>;
read-only;
};
partition@60000 {
label = "language";
reg = <0x60000 0x30000>;
read-only;
};
 
partition@60000 {
label = "language";
reg = <0x60000 0x30000>;
read-only;
};
partition@90000 {
label = "pot";
reg = <0x90000 0x10000>;
read-only;
};
 
partition@90000 {
label = "pot";
reg = <0x90000 0x10000>;
read-only;
};
partition@a0000 {
label = "checksum";
reg = <0xa0000 0x10000>;
};
 
partition@a0000 {
label = "checksum";
reg = <0xa0000 0x10000>;
};
 
partition@b0000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0xb0000 0x350000>;
};
partition@b0000 {
label = "firmware";
reg = <0xb0000 0x350000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WNDR3700V5.dts
@@ -9,13 +9,6 @@
compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
model = "Netgear WNDR3700v5";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600 maxcpus=2";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -33,14 +26,16 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wndr3700v5:green:power";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
wps {
@@ -78,38 +73,34 @@
status = "okay";
 
mx25l12805d@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@f30000 {
label = "factory";
reg = <0xf30000 0x10000>;
read-only;
};
 
factory: partition@f30000 {
label = "factory";
reg = <0xf30000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xee0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xee0000>;
};
};
};
@@ -116,20 +107,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
@@ -140,7 +133,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "rgmii2", "mdio", "wdt";
ralink,group = "rgmii2", "mdio", "wdt";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/WR1200JS.dts
@@ -9,11 +9,6 @@
compatible = "youhua,wr1200js", "mediatek,mt7621-soc";
model = "YouHua WR1200JS";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -23,7 +18,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
internet {
@@ -31,7 +26,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "wr1200js:blue:wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
@@ -39,13 +34,13 @@
usb {
label = "wr1200js:blue:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -72,38 +67,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -110,24 +101,26 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
 
led {
led-sources = <2>;
led-active-low;
led {
led-sources = <2>;
led-active-low;
};
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WR512-3GN-4M.dts
@@ -11,35 +11,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3c8000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3c8000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WR512-3GN-8M.dts
@@ -11,35 +11,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WR512-3GN.dtsi
@@ -6,14 +6,7 @@
/ {
compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
3g {
@@ -31,7 +24,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
 
led_wps: wps {
wps {
label = "wr512-3gn:green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
@@ -42,8 +35,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset_wps {
/branches/18.06.1/target/linux/ramips/dts/WR6202.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wps {
@@ -27,8 +27,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -49,35 +51,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WRC-1167GHBK2-S.dts
@@ -9,13 +9,6 @@
compatible = "elecom,wrc-1167ghbk2-s", "mediatek,mt7621-soc";
model = "ELECOM WRC-1167GHBK2-S";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wlan2g {
@@ -38,7 +31,7 @@
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power_green {
power_green {
label = "wrc-1167ghbk2-s:green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
@@ -59,8 +52,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -85,50 +80,46 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf20000>;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf20000>;
};
partition@f70000 {
label = "user_data";
reg = <0xf70000 0x80000>;
read-only;
};
 
partition@f70000 {
label = "user_data";
reg = <0xf70000 0x80000>;
read-only;
};
 
partition@ff0000 {
label = "NVRAM";
reg = <0xff0000 0x10000>;
read-only;
};
partition@ff0000 {
label = "NVRAM";
reg = <0xff0000 0x10000>;
read-only;
};
};
};
@@ -144,10 +135,8 @@
 
&pcie {
status = "okay";
/*
* WRC-1167GHBK2-S has MT7615D for 2.4/5 GHz wifi,
* but it's not supported in OpenWrt.
*/
// WRC-1167GHBK2-S has MT7615D for 2.4/5 GHz wifi,
// but it's not supported in OpenWrt.
};
 
&xhci {
/branches/18.06.1/target/linux/ramips/dts/WRH-300CR.dts
@@ -9,17 +9,10 @@
compatible = "elecom,wrh-300cr", "ralink,mt7620n-soc";
model = "ELECOM WRH-300CR";
 
aliases {
led-boot = &led_wps;
led-failsafe = &led_wps;
led-running = &led_wps;
led-upgrade = &led_wps;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_wps: wps {
wps {
label = "wrh-300cr:green:wps";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
@@ -35,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -69,43 +64,38 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "recover";
reg = <0x50000 0x1c0000>;
read-only;
};
 
partition@50000 {
label = "recover";
reg = <0x50000 0x1c0000>;
read-only;
};
 
partition@210000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x210000 0xdf0000>;
};
partition@210000 {
label = "firmware";
reg = <0x210000 0xdf0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WRTNODE.dts
@@ -8,17 +8,10 @@
compatible = "wrtnode,wrtnode", "ralink,mt7620n-soc";
model = "WRTNODE";
 
aliases {
led-boot = &led_indicator;
led-failsafe = &led_indicator;
led-running = &led_indicator;
led-upgrade = &led_indicator;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_indicator: indicator {
indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -41,38 +34,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WRTNODE2.dtsi
@@ -10,8 +10,10 @@
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -26,38 +28,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WRTNODE2P.dts
@@ -6,27 +6,20 @@
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2P";
 
aliases {
led-boot = &led_indicator;
led-failsafe = &led_indicator;
led-running = &led_indicator;
led-upgrade = &led_indicator;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_indicator: indicator {
indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
};
};
};
 
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "gpio";
ralink,group = "i2c", "gpio", "jtag";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/WRTNODE2R.dts
@@ -6,21 +6,14 @@
compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2R";
 
aliases {
led-boot = &led_indicator;
led-failsafe = &led_indicator;
led-running = &led_indicator;
led-upgrade = &led_indicator;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_indicator: indicator {
indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
};
};
};
 
&pinctrl {
/branches/18.06.1/target/linux/ramips/dts/WSR-1166.dts
@@ -9,13 +9,6 @@
compatible = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc";
model = "Buffalo WSR-1166DHP";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -25,7 +18,7 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
internet_g {
@@ -53,7 +46,7 @@
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "wsr-1166:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -69,8 +62,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
power {
@@ -123,43 +118,39 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf90000>;
};
 
partition@50000 {
compatible = "openwrt,trx";
label = "firmware";
reg = <0x50000 0xf90000>;
};
 
partition@fe0000 {
label = "board_data";
reg = <0xfe0000 0x20000>;
};
partition@fe0000 {
label = "board_data";
reg = <0xfe0000 0x20000>;
};
};
};
@@ -175,20 +166,22 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WSR-600.dts
@@ -9,13 +9,6 @@
compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
model = "Buffalo WSR-600DHP";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
@@ -25,10 +18,10 @@
bootargs = "console=ttyS0,57600";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "wsr-600:green:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
@@ -69,8 +62,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
power {
@@ -123,38 +118,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -170,19 +161,21 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
rt5592@0,0 {
reg = <0x0000 0 0 0 0>;
ralink,mtd-eeprom = <&factory 0x8000>;
pcie0 {
rt5592@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
ralink,mtd-eeprom = <&factory 0x8000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/WT1520-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WT1520-8M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WT1520.dtsi
@@ -11,8 +11,10 @@
reg = <0x0 0x2000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/WT3020-4M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WT3020-8M.dts
@@ -19,38 +19,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WT3020.dtsi
@@ -6,15 +6,10 @@
/ {
compatible = "nexx,wt3020", "ralink,mt7620n-soc";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -24,12 +19,12 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "wt3020:blue:power";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/WZR-AGL300NH.dts
@@ -11,11 +11,8 @@
compatible = "buffalo,wzr-agl300nh", "ralink,rt2880-soc";
model = "Buffalo WZR-AGL300NH";
 
aliases {
led-boot = &led_router;
led-failsafe = &led_router;
led-running = &led_router;
led-upgrade = &led_router;
pci@440000 {
status = "ok";
};
 
cfi@1f000000 {
@@ -23,35 +20,30 @@
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
@@ -61,8 +53,10 @@
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
 
wps {
@@ -84,10 +78,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_router: router {
router {
label = "wzr-agl300nh:green:router";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
@@ -140,10 +134,6 @@
};
};
 
&pci {
status = "okay";
};
 
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
/branches/18.06.1/target/linux/ramips/dts/X5.dts
@@ -9,17 +9,10 @@
compatible = "poray,x5", "ralink,rt5350-soc";
model = "Poray X5";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "x5:green:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
@@ -40,8 +33,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
bat {
@@ -80,38 +75,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/X8.dts
@@ -9,24 +9,19 @@
compatible = "poray,x8", "ralink,rt5350-soc";
model = "Poray X8";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "x8:green:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -41,38 +36,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/XDXRN502J.dts
@@ -9,51 +9,39 @@
compatible = "unbranded,xdxrn502j", "ralink,rt3052-soc";
model = "XDX RN502J";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wifi {
@@ -61,14 +49,16 @@
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "xdxrn502j:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/Y1.dts
@@ -6,17 +6,10 @@
compatible = "lenovo,newifi-y1", "ralink,mt7620a-soc";
model = "Lenovo Y1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power1 {
label = "y1:blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -34,8 +27,6 @@
usb {
label = "y1:blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
lan {
/branches/18.06.1/target/linux/ramips/dts/Y1.dtsi
@@ -10,8 +10,10 @@
bootargs = "console=ttyS0,115200";
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -21,7 +23,7 @@
};
};
};
 
&gpio0 {
status = "okay";
};
@@ -38,38 +40,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -84,16 +81,17 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
/branches/18.06.1/target/linux/ramips/dts/Y1S.dts
@@ -6,21 +6,14 @@
compatible = "lenovo,newifi-y1s", "lenovo,newifi-y1", "ralink,mt7620a-soc";
model = "Lenovo Y1S";
 
aliases {
led-boot = &led_power_blue;
led-failsafe = &led_power_blue;
led-running = &led_power_blue;
led-upgrade = &led_power_blue;
};
 
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
 
/* GPIO 54、55、56 USB1、2、3 */
usb0 {
gpio-export,name = "usb0";
gpio-export,output = <1>;
gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
gpio-export,output = <1>; // GPIOF_OUT_INIT_HIGH
gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; // GPIO2:40+14=GPIO 54
};
usb1 {
gpio-export,name = "usb1";
@@ -34,7 +27,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power1 {
@@ -42,7 +35,7 @@
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
 
led_power_blue: power2 {
power2 {
label = "y1s:blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -65,8 +58,6 @@
usb2 {
label = "y1s:blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
internet {
/branches/18.06.1/target/linux/ramips/dts/YOUKU-YK1.dts
@@ -9,14 +9,7 @@
compatible = "youku,yk1", "ralink,mt7620a-soc";
model = "YOUKU YK1";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
wan {
label = "youku-yk1:blue:wan";
@@ -29,17 +22,17 @@
usb {
label = "youku-yk1:blue:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
power {
label = "youku-yk1:blue:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
@@ -69,39 +62,33 @@
status = "okay";
 
m25p80@0 {
compatible = "mx25l25635f", "jedec,spi-nor";
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
m25p,fast-read;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-APE522II.dts
@@ -13,7 +13,7 @@
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
sys1 {
@@ -42,8 +42,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -74,37 +76,32 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xf80000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xf80000>;
};
};
};
@@ -124,13 +121,14 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie-bridge {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/ZBT-CPE102.dts
@@ -13,16 +13,10 @@
bootargs = "console=ttyS0,115200";
};
 
 
aliases {
led-boot = &led_4g_0;
led-failsafe = &led_4g_0;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_4g_0: 4g-0 {
4g-0 {
label = "zbt-cpe102:green:4g-0";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -38,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -66,38 +62,33 @@
status = "okay";
 
en25q64@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x760000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x760000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WA05.dts
@@ -9,21 +9,14 @@
compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
model = "Zbtlink ZBT-WA05";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "zbt-wa05:blue:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -31,8 +24,6 @@
usb {
label = "zbt-wa05:blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
air {
@@ -41,8 +32,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -69,38 +62,33 @@
status = "okay";
 
en25q64@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x760000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x760000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE1226.dts
@@ -8,13 +8,6 @@
compatible = "zbtlink,zbt-we1226", "mediatek,mt7628an-soc";
model = "Zbtlink ZBT-WE1226";
 
aliases {
led-boot = &led_wlan;
led-failsafe = &led_wlan;
led-running = &led_wlan;
led-upgrade = &led_wlan;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
@@ -24,8 +17,10 @@
reg = <0x0 0x4000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -35,7 +30,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -53,7 +48,7 @@
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
 
led_wlan: wlan {
wlan {
label = "zbt-we1226:green:wlan";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
@@ -73,38 +68,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE1326.dts
@@ -18,8 +18,10 @@
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -43,38 +45,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -85,21 +83,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE2026.dts
@@ -9,21 +9,14 @@
compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc";
model = "Zbtlink ZBT-WE2026";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "zbt-we2026:red:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -34,8 +27,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -58,38 +53,33 @@
status = "okay";
 
en25q64@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x760000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x760000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE3526.dts
@@ -24,8 +24,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -44,38 +46,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
firmware: partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -82,26 +80,26 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
 
led {
led-sources = <2>;
led {
led-sources = <2>;
};
};
};
};
 
&pcie1 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie1 {
wifi@14c3,7603 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE826-16M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
firmware: partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE826-32M.dts
@@ -11,38 +11,33 @@
status = "okay";
 
en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
firmware: partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WE826.dtsi
@@ -6,20 +6,13 @@
/ {
compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
chosen {
bootargs = "console=ttyS0,115200";
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
led_power: power {
power {
label = "zbt-we826:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
@@ -26,8 +19,6 @@
usb {
label = "zbt-we826:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
air {
label = "zbt-we826:green:wifi";
@@ -35,8 +26,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
reset {
label = "reset";
/branches/18.06.1/target/linux/ramips/dts/ZBT-WG2626.dts
@@ -9,13 +9,6 @@
compatible = "zbtlink,zbt-wg2626", "mediatek,mt7621-soc";
model = "ZBT-WG2626";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -31,8 +24,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -42,10 +37,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "zbt-wg2626:green:status";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
@@ -60,38 +55,34 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
@@ -98,21 +89,23 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
pcie0 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
 
&pcie1 {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
pcie1 {
mt76@1,0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};
 
/branches/18.06.1/target/linux/ramips/dts/ZBT-WG3526.dtsi
@@ -6,13 +6,6 @@
/ {
compatible = "zbtlink,zbt-wg3526", "mediatek,mt7621-soc";
 
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_status;
};
 
memory@0 {
device_type = "memory";
reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -28,8 +21,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -39,10 +34,10 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_status: status {
status {
label = "zbt-wg3526:green:status";
gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
};
@@ -57,37 +52,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
firmware: partition@50000 {
compatible = "denx,uimage";
label = "firmware";
};
firmware: partition@50000 {
label = "firmware";
};
};
};
@@ -94,25 +85,21 @@
 
&pcie {
status = "okay";
};
 
&pcie0 {
wifi@0,0 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
pcie0 {
wifi@14c3,7603 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
};
};
};
 
&pcie1 {
wifi@0,0 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
 
led {
led-sources = <2>;
pcie1 {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZBT-WR8305RT.dts
@@ -9,17 +9,10 @@
compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
model = "Zbtlink ZBT-WR8305RT";
 
aliases {
led-boot = &led_sys;
led-failsafe = &led_sys;
led-running = &led_sys;
led-upgrade = &led_sys;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_sys: sys {
sys {
label = "zbt-wr8305rt:green:sys";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
@@ -27,8 +20,6 @@
lan {
label = "zbt-wr8305rt:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -37,8 +28,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -61,38 +54,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZL5900V2.dts
@@ -9,14 +9,7 @@
compatible = "zorlik,zl5900v2", "ralink,rt5350-soc";
model = "Zorlik ZL5900V2";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
lan {
@@ -24,14 +17,16 @@
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
};
 
led_power: power {
power {
label = "zl5900v2:blue:power";
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -46,38 +41,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/ZTE-Q7.dts
@@ -9,14 +9,7 @@
compatible = "zte,q7", "ralink,mt7620a-soc";
model = "ZTE Q7";
 
aliases {
led-boot = &led_status_blue;
led-failsafe = &led_status_blue;
led-running = &led_status_blue;
led-upgrade = &led_status_blue;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
statred {
@@ -24,14 +17,16 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
 
led_status_blue: statblue {
statblue {
label = "zte-q7:blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -54,38 +49,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
@@ -93,7 +83,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
ralink,function = "gpio";
};
};
/branches/18.06.1/target/linux/ramips/dts/kn.dts
@@ -9,54 +9,42 @@
compatible = "zyxel,keenetic", "ralink,rt3052-soc";
model = "ZyXEL Keenetic";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x3b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
led_power: power {
power {
label = "kn:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
@@ -64,8 +52,6 @@
usb {
label = "kn:green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
 
wps {
@@ -74,8 +60,10 @@
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
/branches/18.06.1/target/linux/ramips/dts/kn_rc.dts
@@ -9,14 +9,7 @@
compatible = "zyxel,keenetic-omni", "ralink,mt7620n-soc";
model = "ZyXEL Keenetic Omni";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -27,8 +20,6 @@
usb {
label = "kn_rc:green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -36,14 +27,16 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "kn_rc:green:power";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -89,38 +82,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/kn_rf.dts
@@ -9,14 +9,7 @@
compatible = "zyxel,keenetic-omni-ii", "ralink,mt7620n-soc";
model = "ZyXEL Keenetic Omni II";
 
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -27,8 +20,6 @@
usb {
label = "kn_rc:green:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
wifi {
@@ -36,14 +27,16 @@
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
 
led_power: power {
power {
label = "kn_rc:green:power";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -89,38 +82,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/kng_rc.dts
@@ -9,14 +9,7 @@
compatible = "zyxel,keenetic-viva", "ralink,mt7620a-soc";
model = "ZyXEL Keenetic Viva";
 
aliases {
led-boot = &led_power_green;
led-failsafe = &led_power_green;
led-running = &led_power_green;
led-upgrade = &led_power_green;
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
wan {
@@ -27,8 +20,6 @@
usb {
label = "kng_rc:green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
 
power_alert {
@@ -41,14 +32,16 @@
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
 
led_power_green: power {
power {
label = "kng_rc:green:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
 
keys {
gpio-keys-polled {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
 
reset {
@@ -85,7 +78,7 @@
compatible = "realtek,rtl8367b";
cpu_port = <7>;
realtek,extif2 = <1 0 1 1 1 1 1 1 2>;
mii-bus = <&mdio0>;
mdio = <&mdio0>;
};
};
 
@@ -93,38 +86,33 @@
status = "okay";
 
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
 
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
 
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
 
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/mt7620a.dtsi
@@ -1,15 +1,11 @@
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ralink,mt7620a-soc";
compatible = "ralink,mtk7620a-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -17,7 +13,7 @@
bootargs = "console=ttyS0,57600";
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -116,7 +112,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -133,7 +129,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -152,7 +148,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <32>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -171,7 +167,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <72>;
ralink,nr-gpio = <1>;
ralink,num-gpios = <1>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -334,8 +330,8 @@
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -343,13 +339,13 @@
 
spi_cs1: spi1 {
spi1 {
ralink,group = "spi refclk";
ralink,function = "spi refclk";
ralink,group = "spi_cs1";
ralink,function = "spi_cs1";
};
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
@@ -417,13 +413,6 @@
ralink,function = "pa";
};
};
 
sdhci_pins: sdhci {
sdhci {
ralink,group = "nd_sd";
ralink,function = "sd";
};
};
};
 
rstctrl: rstctrl {
@@ -503,15 +492,10 @@
interrupt-parent = <&intc>;
interrupts = <14>;
 
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
 
status = "disabled";
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -522,16 +506,9 @@
phy-names = "usb";
 
status = "disabled";
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -542,11 +519,6 @@
phy-names = "usb";
 
status = "disabled";
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
pcie: pcie@10140000 {
@@ -579,7 +551,7 @@
 
status = "disabled";
 
pcie0: pcie@0,0 {
pcie-bridge {
reg = <0x0000 0 0 0 0>;
 
#address-cells = <3>;
@@ -586,8 +558,6 @@
#size-cells = <2>;
 
device_type = "pci";
 
ranges;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/mt7620n.dtsi
@@ -1,15 +1,11 @@
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ralink,mt7620n-soc";
compatible = "ralink,mtk7620n-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -17,7 +13,7 @@
bootargs = "console=ttyS0,57600";
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -101,7 +97,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -118,7 +114,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -137,7 +133,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <32>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -156,7 +152,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <72>;
ralink,nr-gpio = <1>;
ralink,num-gpios = <1>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -255,8 +251,8 @@
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -264,13 +260,13 @@
 
spi_cs1: spi1 {
spi1 {
ralink,group = "spi refclk";
ralink,function = "spi refclk";
ralink,group = "spi_cs1";
ralink,function = "spi_cs1";
};
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
@@ -349,8 +345,6 @@
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -361,16 +355,9 @@
phy-names = "usb";
 
status = "disabled";
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -381,11 +368,6 @@
interrupts = <18>;
 
status = "disabled";
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
wmac: wmac@10180000 {
/branches/18.06.1/target/linux/ramips/dts/mt7621.dtsi
@@ -1,5 +1,4 @@
#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/clock/mt7621-clk.h>
 
/ {
#address-cells = <1>;
@@ -7,23 +6,16 @@
compatible = "mediatek,mt7621-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
device_type = "cpu";
compatible = "mips,mips1004Kc";
reg = <0>;
};
 
cpu@1 {
device_type = "cpu";
compatible = "mips,mips1004Kc";
reg = <1>;
};
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -34,14 +26,15 @@
serial0 = &uartlite;
};
 
pll: pll {
compatible = "mediatek,mt7621-pll", "syscon";
cpuclock: cpuclock@0 {
#clock-cells = <0>;
compatible = "fixed-clock";
 
#clock-cells = <1>;
clock-output-names = "cpu", "bus";
/* FIXME: there should be way to detect this */
clock-frequency = <880000000>;
};
 
sysclock: sysclock {
sysclock: sysclock@0 {
#clock-cells = <0>;
compatible = "fixed-clock";
 
@@ -138,9 +131,9 @@
status = "disabled";
};
 
systick: systick@500 {
systick: systick@d00 {
compatible = "ralink,mt7621-systick", "ralink,cevt-systick";
reg = <0x500 0x10>;
reg = <0xd00 0x10>;
 
resets = <&rstctrl 28>;
reset-names = "intc";
@@ -151,23 +144,24 @@
 
memc: memc@5000 {
compatible = "mtk,mt7621-memc";
reg = <0x5000 0x1000>;
reg = <0x300 0x100>;
};
 
cpc: cpc@1fbf0000 {
compatible = "mtk,mt7621-cpc";
reg = <0x1fbf0000 0x8000>;
compatible = "mtk,mt7621-cpc";
reg = <0x1fbf0000 0x8000>;
};
 
mc: mc@1fbf8000 {
compatible = "mtk,mt7621-mc";
reg = <0x1fbf8000 0x8000>;
};
compatible = "mtk,mt7621-mc";
reg = <0x1fbf8000 0x8000>;
};
 
uartlite: uartlite@c00 {
compatible = "ns16550a";
reg = <0xc00 0x100>;
 
clocks = <&sysclock>;
clock-frequency = <50000000>;
 
interrupt-parent = <&gic>;
@@ -178,42 +172,6 @@
no-loopback-test;
};
 
uartlite2: uartlite2@d00 {
compatible = "ns16550a";
reg = <0xd00 0x100>;
 
clock-frequency = <50000000>;
 
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 27 IRQ_TYPE_LEVEL_HIGH>;
 
reg-shift = <2>;
reg-io-width = <4>;
 
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
 
status = "disabled";
};
 
uartlite3: uartlite3@e00 {
compatible = "ns16550a";
reg = <0xe00 0x100>;
 
clock-frequency = <50000000>;
 
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 28 IRQ_TYPE_LEVEL_HIGH>;
 
reg-shift = <2>;
reg-io-width = <4>;
 
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins>;
 
status = "disabled";
};
 
spi0: spi@b00 {
status = "disabled";
 
@@ -220,7 +178,7 @@
compatible = "ralink,mt7621-spi";
reg = <0xb00 0x100>;
 
clocks = <&pll MT7621_CLK_BUS>;
clocks = <&sysclock>;
 
resets = <&rstctrl 18>;
reset-names = "spi";
@@ -275,15 +233,15 @@
state_default: pinctrl0 {
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -376,14 +334,9 @@
 
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
 
pinctrl-names = "default";
pinctrl-0 = <&sdhci_pins>;
};
 
xhci: xhci@1E1C0000 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
 
compatible = "mediatek,mt8173-xhci";
@@ -396,25 +349,6 @@
 
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
 
/*
* Port 1 of both hubs is one usb slot and referenced here.
* The binding doesn't allow to address individual hubs.
* hub 1 - port 1 is ehci and ohci, hub 2 - port 1 is xhci.
*/
xhci_ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
 
/*
* Only the second usb hub has a second port. That port serves
* ehci and ohci.
*/
ehci_port2: port@2 {
reg = <2>;
#trigger-source-cells = <0>;
};
};
 
gic: interrupt-controller@1fbc0000 {
@@ -429,7 +363,7 @@
timer {
compatible = "mti,gic-timer";
interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>;
clocks = <&pll MT7621_CLK_CPU>;
clocks = <&cpuclock>;
};
};
 
@@ -440,14 +374,26 @@
bank-width = <2>;
reg = <0x1e003000 0x800
0x1e003800 0x800>;
#address-cells = <1>;
#size-cells = <1>;
};
 
hnat: hnat@1e100000 {
compatible = "mediatek,mt7623-hnat";
reg = <0x1e100000 0x10000>;
mtketh-ppd = "eth0";
mtketh-lan = "eth0";
mtketh-wan = "eth0";
resets = <&rstctrl 0>;
reset-names = "mtketh";
};
 
ethernet: ethernet@1e100000 {
compatible = "mediatek,mt7621-eth";
reg = <0x1e100000 0x10000>;
 
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <0>;
 
resets = <&rstctrl 6 &rstctrl 23>;
reset-names = "fe", "eth";
@@ -466,16 +412,6 @@
phy-mode = "rgmii";
};
};
 
hnat: hnat@0 {
compatible = "mediatek,mt7623-hnat";
reg = <0 0x10000>;
mtketh-ppd = "eth0";
mtketh-lan = "eth0";
mtketh-wan = "eth0";
resets = <&rstctrl 0>;
reset-names = "mtketh";
};
};
 
gsw: gsw@1e110000 {
@@ -516,31 +452,31 @@
clocks = <&clkctrl 24 &clkctrl 25 &clkctrl 26>;
clock-names = "pcie0", "pcie1", "pcie2";
 
pcie0: pcie@0,0 {
pcie0 {
reg = <0x0000 0 0 0 0>;
 
#address-cells = <3>;
#size-cells = <2>;
 
ranges;
device_type = "pci";
};
 
pcie1: pcie@1,0 {
pcie1 {
reg = <0x0800 0 0 0 0>;
 
#address-cells = <3>;
#size-cells = <2>;
 
ranges;
device_type = "pci";
};
 
pcie2: pcie@2,0 {
pcie2 {
reg = <0x1000 0 0 0 0>;
 
#address-cells = <3>;
#size-cells = <2>;
 
ranges;
device_type = "pci";
};
};
};
/branches/18.06.1/target/linux/ramips/dts/mt7628an.dtsi
@@ -1,15 +1,11 @@
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mediatek,mt7628an-soc";
compatible = "ralink,mtk7628an-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -21,7 +17,7 @@
serial0 = &uartlite;
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -281,8 +277,8 @@
state_default: pinctrl0 {
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -295,8 +291,8 @@
};
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
@@ -402,8 +398,6 @@
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -412,16 +406,9 @@
 
interrupt-parent = <&intc>;
interrupts = <18>;
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -430,11 +417,6 @@
 
interrupt-parent = <&intc>;
interrupts = <18>;
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ethernet: ethernet@10100000 {
@@ -487,7 +469,7 @@
0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */
>;
 
pcie0: pcie@0,0 {
pcie-bridge {
reg = <0x0000 0 0 0 0>;
 
#address-cells = <3>;
@@ -494,8 +476,6 @@
#size-cells = <2>;
 
device_type = "pci";
 
ranges;
};
};
 
/branches/18.06.1/target/linux/ramips/dts/rt2880.dtsi
@@ -4,12 +4,8 @@
compatible = "ralink,rt2880-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -21,7 +17,7 @@
serial0 = &uartlite;
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -80,7 +76,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -94,7 +90,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -110,7 +106,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <32>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -158,15 +154,15 @@
};
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -193,8 +189,8 @@
pci: pci@440000 {
compatible = "ralink,rt288x-pci";
reg = <0x00440000 0x20000>;
#address-cells = <3>;
#size-cells = <2>;
#address-cells = <1>;
#size-cells = <1>;
status = "disabled";
};
 
/branches/18.06.1/target/linux/ramips/dts/rt3050.dtsi
@@ -4,12 +4,8 @@
compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -22,7 +18,7 @@
serial0 = &uartlite;
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -109,7 +105,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -129,7 +125,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -145,7 +141,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <12>;
ralink,num-gpios = <12>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -250,15 +246,15 @@
};
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -335,8 +331,6 @@
};
 
otg: otg@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "ralink,rt3050-otg", "snps,dwc2";
reg = <0x101c0000 0x40000>;
 
@@ -347,10 +341,5 @@
reset-names = "otg";
 
status = "disabled";
 
otg_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/rt3352.dtsi
@@ -4,12 +4,8 @@
compatible = "ralink,rt3352-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -17,7 +13,7 @@
bootargs = "console=ttyS0,57600";
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -107,7 +103,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -126,7 +122,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -142,7 +138,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <6>;
ralink,num-gpios = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -259,8 +255,8 @@
state_default: pinctrl0 {
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
@@ -280,8 +276,8 @@
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -358,8 +354,6 @@
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -370,16 +364,9 @@
interrupts = <18>;
 
status = "disabled";
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -390,10 +377,5 @@
interrupts = <18>;
 
status = "disabled";
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/rt3883.dtsi
@@ -4,12 +4,8 @@
compatible = "ralink,rt3883-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips74Kc";
reg = <0>;
};
};
 
@@ -23,7 +19,7 @@
serial0 = &uartlite;
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -116,7 +112,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -130,7 +126,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <24>;
ralink,nr-gpio = <16>;
ralink,num-gpios = <16>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -146,7 +142,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <40>;
ralink,nr-gpio = <32>;
ralink,num-gpios = <32>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -162,7 +158,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <72>;
ralink,nr-gpio = <24>;
ralink,num-gpios = <24>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -279,15 +275,15 @@
state_default: pinctrl0 {
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -295,8 +291,8 @@
 
spi_cs1: spi1 {
spi1 {
ralink,group = "pci";
ralink,function = "pci-func";
ralink,group = "spi_cs1";
ralink,function = "spi_cs1";
};
};
 
@@ -306,13 +302,6 @@
ralink,function = "uartlite";
};
};
 
pci_pins: pci {
pci {
ralink,group = "pci";
ralink,function = "pci-fnc";
};
};
};
 
ethernet: ethernet@10100000 {
@@ -357,9 +346,6 @@
#size-cells = <1>;
ranges; /* direct mapping */
 
pinctrl-names = "default";
pinctrl-0 = <&pci_pins>;
 
status = "disabled";
 
pciintc: interrupt-controller {
@@ -371,7 +357,7 @@
interrupts = <4>;
};
 
pci@0 {
host-bridge {
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
@@ -398,7 +384,7 @@
0x9000 0 0 4 &pciintc 19
>;
 
pci1: pci@1 {
pci-bridge@1 {
reg = <0x0800 0 0 0 0>;
device_type = "pci";
#interrupt-cells = <1>;
@@ -407,28 +393,33 @@
 
status = "disabled";
 
ralink,pci-slot = <1>;
 
interrupt-map-mask = <0x0 0 0 0>;
interrupt-map = <0x0 0 0 0 &pciintc 20>;
 
bus-range = <1 255>;
ranges;
};
 
pci17: pci@11,0 {
pci-slot@17 {
reg = <0x8800 0 0 0 0>;
device_type = "pci";
#interrupt-cells = <1>;
#address-cells = <3>;
#size-cells = <2>;
 
ralink,pci-slot = <17>;
 
status = "disabled";
};
 
pci18: pci@12,0 {
pci-slot@18 {
reg = <0x9000 0 0 0 0>;
device_type = "pci";
#interrupt-cells = <1>;
#address-cells = <3>;
#size-cells = <2>;
 
ralink,pci-slot = <18>;
 
status = "disabled";
};
};
@@ -456,8 +447,6 @@
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -468,16 +457,9 @@
interrupts = <18>;
 
status = "disabled";
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -488,10 +470,5 @@
interrupts = <18>;
 
status = "disabled";
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
};
/branches/18.06.1/target/linux/ramips/dts/rt5350.dtsi
@@ -4,12 +4,8 @@
compatible = "ralink,rt5350-soc";
 
cpus {
#address-cells = <1>;
#size-cells = <0>;
 
cpu@0 {
compatible = "mips,mips24KEc";
reg = <0>;
};
};
 
@@ -17,7 +13,7 @@
bootargs = "console=ttyS0,57600";
};
 
cpuintc: cpuintc {
cpuintc: cpuintc@0 {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
@@ -116,7 +112,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <0>;
ralink,nr-gpio = <22>;
ralink,num-gpios = <22>;
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
@@ -133,7 +129,7 @@
#gpio-cells = <2>;
 
ralink,gpio-base = <22>;
ralink,nr-gpio = <6>;
ralink,num-gpios = <6>;
ralink,register-map = [ 00 04 08 0c
10 14 18 1c
20 24 ];
@@ -244,7 +240,7 @@
interrupts = <4>;
 
status = "disabled";
};
};
 
gdma: gdma@2800 {
compatible = "ralink,rt3883-gdma";
@@ -273,15 +269,15 @@
state_default: pinctrl0 {
};
 
i2c_pins: i2c_pins {
i2c_pins {
i2c_pins: i2c {
i2c {
ralink,group = "i2c";
ralink,function = "i2c";
};
};
 
spi_pins: spi_pins {
spi_pins {
spi_pins: spi {
spi {
ralink,group = "spi";
ralink,function = "spi";
};
@@ -372,8 +368,6 @@
};
 
ehci: ehci@101c0000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
 
@@ -382,16 +376,9 @@
 
interrupt-parent = <&intc>;
interrupts = <18>;
 
ehci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
 
ohci: ohci@101c1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
 
@@ -400,10 +387,5 @@
 
interrupt-parent = <&intc>;
interrupts = <18>;
 
ohci_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
};