mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-16 07:27:26 +00:00
lantiq: dts: use generic node names
In DTS Checklist[1] we're now demanding proper generic node names, as the name of a node should reflect the function of the device and use generic name for that[2]. Everybody seems to be copy&pasting from DTS files available in the repository today, so let's unify that naming there as well and provide proper examples. 1. https://openwrt.org/submitting-patches#dts_checklist 2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation Signed-off-by: Petr Štetiar <ynezz@true.cz> [split out treewide patch, integrated P2812HNUF1 rename patch] Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [merged key and led changes, use generic node name for flash, wifi and gpio] Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
617622cb3c
commit
a4bdae7cf2
@ -49,7 +49,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -25,7 +25,7 @@
|
||||
reg = <0x0 0x1000000>;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
/* power led: red=off, green=on */
|
||||
@ -78,7 +78,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x400000>;
|
||||
|
@ -30,7 +30,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "power";
|
||||
@ -177,7 +177,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -32,7 +32,7 @@
|
||||
ath,eep-swap;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "power";
|
||||
@ -141,7 +141,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
@ -176,7 +176,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -29,7 +29,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power {
|
||||
@ -138,7 +138,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
@ -172,7 +172,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -29,7 +29,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_blue: power {
|
||||
@ -162,7 +162,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
@ -197,7 +197,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -34,7 +34,7 @@
|
||||
ath,eep-swap;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
fxo {
|
||||
label = "arv4525pw:green:festnetz";
|
||||
@ -111,7 +111,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -35,7 +35,7 @@
|
||||
ath,eep-swap;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power_blue: power0 {
|
||||
label = "arv452cqw:blue:power";
|
||||
@ -180,7 +180,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x400000>;
|
||||
@ -215,7 +215,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
wlan: wlan {
|
||||
label = "arv7506pw11:green:wlan";
|
||||
@ -111,7 +111,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "power";
|
||||
@ -135,7 +135,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -29,7 +29,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power_green: power {
|
||||
label = "arv7518pw:green:power";
|
||||
@ -168,7 +168,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
@ -202,7 +202,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "power";
|
||||
@ -163,7 +163,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x8000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
lan_green {
|
||||
@ -190,7 +190,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power_green: power {
|
||||
label = "arv7525pw:green:power";
|
||||
@ -96,7 +96,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power_blue: power1 {
|
||||
label = "arv752dpw:blue:power";
|
||||
@ -172,7 +172,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
@ -207,7 +207,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power_blue: power1 {
|
||||
label = "arv752dpw22:blue:power";
|
||||
@ -187,7 +187,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
@ -222,7 +222,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
/* key DECT is missing */
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power-green {
|
||||
@ -125,7 +125,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl: dsl {
|
||||
@ -132,7 +132,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x0800000>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
upgrading-orange {
|
||||
@ -164,7 +164,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 { /* NOR Flash: Spansion S29AL004D 512KB */
|
||||
flash@0 { /* NOR Flash: Spansion S29AL004D 512KB */
|
||||
compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
|
||||
lantiq,cs = <0>;
|
||||
bank-width = <2>;
|
||||
@ -202,7 +202,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
|
||||
flash@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -47,7 +47,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
wireless-red {
|
||||
@ -151,7 +151,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
|
||||
flash@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
@ -197,7 +197,7 @@
|
||||
status = "okay";
|
||||
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ath9k@7000 {
|
||||
wifi@7000 {
|
||||
reg = <0x7000 0 0 0 0>;
|
||||
qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
|
||||
};
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x8000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
/* broadband-* is a single RGB led */
|
||||
@ -235,7 +235,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@1 {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x1000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
dsl: dsl {
|
||||
label = "dgn1000b:green:dsl";
|
||||
@ -120,7 +120,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@1 {
|
||||
flash@1 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <5000000>;
|
||||
|
@ -43,7 +43,7 @@
|
||||
>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
internet: internet {
|
||||
label = "dgn3500:green:internet";
|
||||
@ -166,7 +166,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <20000000>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -53,7 +53,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_amber: power_amber {
|
||||
@ -152,7 +152,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <10000000>;
|
||||
|
@ -46,7 +46,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -46,7 +46,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -25,7 +25,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
/* reset {
|
||||
@ -40,7 +40,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power: power {
|
||||
@ -246,7 +246,7 @@
|
||||
|
||||
status = "okay";
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <1000000>;
|
||||
|
@ -13,7 +13,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -17,7 +17,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
reset {
|
||||
label = "reset";
|
||||
@ -34,7 +34,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
easy88388-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins &bootled_pins>;
|
||||
|
@ -17,7 +17,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
reset {
|
||||
label = "reset";
|
||||
@ -33,7 +33,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
easy88444-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins &bootled_pins>;
|
||||
|
@ -10,7 +10,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
easy98000-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bootled_pins>;
|
||||
|
@ -13,7 +13,7 @@
|
||||
};
|
||||
|
||||
&ebu_cs0 {
|
||||
gen_nand@0 {
|
||||
flash@0 {
|
||||
compatible = "gen_nand", "lantiq,nand-falcon";
|
||||
bank-width = <1>;
|
||||
reg = <0x0 0x40000>;
|
||||
|
@ -13,7 +13,7 @@
|
||||
};
|
||||
|
||||
&ebu_cs0 {
|
||||
cfi@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0x0 0x4000000>;
|
||||
|
@ -18,7 +18,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
reset {
|
||||
label = "reset";
|
||||
@ -34,10 +34,10 @@
|
||||
};
|
||||
};
|
||||
|
||||
easy98020-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bootled_pins>;
|
||||
pinctrl-0 = <&bootled_pins>, <&led_pins>;
|
||||
|
||||
GPON {
|
||||
label = "easy98020:green:gpon";
|
||||
@ -64,12 +64,6 @@
|
||||
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "keep";
|
||||
};
|
||||
};
|
||||
|
||||
easy98020-phy-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins>;
|
||||
|
||||
GE0_ACT {
|
||||
label = "easy98020:ge0_act";
|
||||
|
@ -18,7 +18,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
reset {
|
||||
label = "reset";
|
||||
@ -34,7 +34,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
easy98020-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins &bootled_pins>;
|
||||
|
@ -18,7 +18,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
reset {
|
||||
label = "reset";
|
||||
@ -46,7 +46,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
easy98021-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins &bootled_pins>;
|
||||
|
@ -18,7 +18,7 @@
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
mdu-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bootled_pins>;
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@1 {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
bank-width = <2>;
|
||||
reg = <1 0x0 0x2000000>;
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@1 {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
bank-width = <2>;
|
||||
reg = <1 0x0 0x2000000>;
|
||||
|
@ -32,7 +32,7 @@
|
||||
gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power {
|
||||
@ -258,7 +258,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <1000000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power: power {
|
||||
@ -129,7 +129,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "fritz7320:green:power";
|
||||
@ -104,7 +104,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -44,7 +44,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -98,7 +98,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@1 {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs1 = <1>;
|
||||
bank-width = <1>;
|
||||
|
@ -82,7 +82,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -17,7 +17,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
@ -100,7 +100,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpiomm: gpiomm@1 {
|
||||
gpiomm: gpio@1 {
|
||||
compatible = "lantiq,gpio-mm";
|
||||
reg = <1 0x0 0x10 >;
|
||||
#address-cells = <1>;
|
||||
|
@ -29,7 +29,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power {
|
||||
@ -131,7 +131,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -28,7 +28,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power {
|
||||
@ -147,7 +147,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -11,7 +11,7 @@
|
||||
led-usb2 = &led_usb2;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
led_usb1: usb1 {
|
||||
label = "p2812hnuf1:green:usb1";
|
||||
gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
|
||||
@ -24,7 +24,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nand@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
|
@ -16,7 +16,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>;
|
||||
@ -42,7 +42,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
nand@1 {
|
||||
flash@1 {
|
||||
compatible = "lantiq,nand-xway";
|
||||
lantiq,cs = <1>;
|
||||
bank-width = <2>;
|
||||
|
@ -26,7 +26,7 @@
|
||||
reg = <0x0 0x8000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
internet_red {
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -239,7 +239,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <33250000>;
|
||||
|
@ -27,7 +27,7 @@
|
||||
reg = <0x0 0x2000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -37,7 +37,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_red: power2 {
|
||||
@ -132,7 +132,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -26,7 +26,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
dsl: dsl {
|
||||
@ -211,7 +211,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x1000000>;
|
||||
|
@ -14,7 +14,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
partitions {
|
||||
partition@0 {
|
||||
label = "Boot";
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
partitions {
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
|
@ -26,7 +26,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -51,7 +51,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
eco {
|
||||
@ -237,7 +237,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
partitions {
|
||||
partition@0 {
|
||||
label = "Boot";
|
||||
|
@ -8,7 +8,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
partitions {
|
||||
partition@0 {
|
||||
label = "uboot";
|
||||
|
@ -24,7 +24,7 @@
|
||||
led-usb2 = &led_usb;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -53,7 +53,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "vr200:blue:power";
|
||||
|
@ -143,7 +143,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <33250000>;
|
||||
|
@ -24,7 +24,7 @@
|
||||
led-usb2 = &led_usb;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
reset {
|
||||
@ -53,7 +53,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
power: power {
|
||||
label = "vr200v:blue:power";
|
||||
|
@ -29,7 +29,7 @@
|
||||
reg = <0x0 0x4000000>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green: power {
|
||||
@ -145,7 +145,7 @@
|
||||
};
|
||||
|
||||
&localbus {
|
||||
nor@0 {
|
||||
flash@0 {
|
||||
compatible = "lantiq,nor";
|
||||
bank-width = <2>;
|
||||
reg = <0 0x0 0x2000000>;
|
||||
|
@ -34,7 +34,7 @@
|
||||
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
keys {
|
||||
compatible = "gpio-keys-polled";
|
||||
poll-interval = <100>;
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
diag_r: diag_r {
|
||||
@ -261,7 +261,7 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pins_spi_default>;
|
||||
|
||||
m25p80@4 {
|
||||
flash@4 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <4>;
|
||||
spi-max-frequency = <20000000>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user