OpenWrt

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/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>;
};
};
};