OpenWrt
/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,15 +90,12 @@ |
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>; |
@@ -123,13 +115,11 @@ |
}; |
|
partition@50000 { |
compatible = "denx,uimage"; |
label = "firmware"; |
reg = <0x50000 0xfb0000>; |
}; |
}; |
}; |
}; |
|
&pinctrl { |
state_default: pinctrl0 { |
@@ -170,9 +160,8 @@ |
|
&pcie { |
status = "okay"; |
}; |
|
&pcie0 { |
pcie-bridge { |
wifi@0,0 { |
compatible = "pci0,0"; |
reg = <0x0000 0 0 0 0>; |
@@ -180,3 +169,4 @@ |
ieee80211-freq-limit = <5000000 6000000>; |
}; |
}; |
}; |