/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/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/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/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/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/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/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/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/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/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-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-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/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/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 @@ |
|
ðernet { |
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-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/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/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"; |
}; |
|
ðernet { |
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/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/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/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/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/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/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 = <®_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/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/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-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/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-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/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/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/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>; |
}; |
}; |
}; |
}; |
|
ðernet { |
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>; |
}; |
}; |
}; |
|
ðernet { |
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/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-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-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/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/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-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-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>; |
}; |
|
ðernet { |
/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/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/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/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/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/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/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/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/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-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>; |
}; |
|
ðernet { |
mtd-mac-address = <&factory 0x28>; |
mtd-mac-address = <&factory 0x2e>; |
mediatek,portmap = "llllw"; |
}; |
/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/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/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/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/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-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-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-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-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/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/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>; |
}; |
}; |
}; |