projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: D-Link DIR-810L: make led naming consistent with other boards
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
DIR-645.dts
diff --git
a/target/linux/ramips/dts/DIR-645.dts
b/target/linux/ramips/dts/DIR-645.dts
index 77155a3711656a47f055a048e83816693359e6a4..60e7f46910208c81886c34a0ebeeef1ab2a2d8d3 100644
(file)
--- a/
target/linux/ramips/dts/DIR-645.dts
+++ b/
target/linux/ramips/dts/DIR-645.dts
@@
-3,31
+3,10
@@
/include/ "rt3883.dtsi"
/ {
/include/ "rt3883.dtsi"
/ {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "DIR-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
compatible = "DIR-645", "ralink,rt3883-soc";
model = "D-Link DIR-645";
- memorydetect {
- ralink,memory = <0x0 0x200000 0x10000000>;
- };
-
palmbus@10000000 {
palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "uartlite", "spi";
- ralink,gpiomux = "i2c", "jtag";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- timer@100 {
- status = "okay";
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
-
gpio1: gpio@638 {
status = "okay";
};
gpio1: gpio@638 {
status = "okay";
};
@@
-74,16
+53,25
@@
};
};
};
};
- ethernet@10100000 {
- status = "okay";
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
- mtd-mac-address = <&factory 0x28>;
- ralink,fixed-link = <1000 1 1 1>;
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x4>;
+ port@0 {
+ ralink,fixed-link = <1000 1 1 0>;
+ };
};
wmac@10180000 {
};
wmac@10180000 {
- status = "okay";
ralink,5ghz = <0>;
ralink,5ghz = <0>;
+ ralink,mtd-eeprom = <&factory 0>;
};
ehci@101c0000 {
};
ehci@101c0000 {
@@
-94,8
+82,8
@@
status = "okay";
};
status = "okay";
};
- rtl836
6
b {
- compatible = "rtl8367b";
+ rtl836
7
b {
+ compatible = "r
ealtek,r
tl8367b";
gpio-sda = <&gpio0 1 0>;
gpio-sck = <&gpio0 2 0>;
realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
gpio-sda = <&gpio0 1 0>;
gpio-sck = <&gpio0 2 0>;
realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
@@
-120,7
+108,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
-
+
inet {
label = "d-link:green:inet";
gpios = <&gpio0 0 1>;
inet {
label = "d-link:green:inet";
gpios = <&gpio0 0 1>;
@@
-134,7
+122,6
@@
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
-
usb {
gpio-export,name = "usb";
gpio-export,output = <1>;
usb {
gpio-export,name = "usb";
gpio-export,output = <1>;