diff options
Diffstat (limited to 'target/linux/lantiq/image/DGN1000B.dts')
-rw-r--r-- | target/linux/lantiq/image/DGN1000B.dts | 91 |
1 files changed, 36 insertions, 55 deletions
diff --git a/target/linux/lantiq/image/DGN1000B.dts b/target/linux/lantiq/image/DGN1000B.dts index 9fac104b2f..1fc8052e21 100644 --- a/target/linux/lantiq/image/DGN1000B.dts +++ b/target/linux/lantiq/image/DGN1000B.dts @@ -3,6 +3,8 @@ /include/ "amazonse.dtsi" / { + model = "DGN1000B - Netgear DGN1000B"; + chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; }; @@ -12,18 +14,10 @@ }; fpi@10000000 { - #address-cells = <1>; - #size-cells = <1>; - gpio: pinmux@E100B10 { - compatible = "lantiq,pinctrl-ase"; pinctrl-names = "default"; pinctrl-0 = <&state_default>; - #gpio-cells = <2>; - gpio-controller; - reg = <0xE100B10 0xA0>; - state_default: pinmux { spi { lantiq,groups = "spi", "spi_cs1"; @@ -33,46 +27,26 @@ lantiq,groups = "asc"; lantiq,function = "asc"; }; - exin { - lantiq,groups = "exin1", "exin2"; - lantiq,function = "exin"; - }; - conf_in { - lantiq,pins = "io0", "io29"; /* nand rdy */ + keys_in { + lantiq,pins = "io0",/* "io25", */"io29"; lantiq,pull = <2>; + lantiq,open-drain = <1>; }; }; }; - adsl: dsl@E116000 { - compatible = "lantiq,dsl-xway"; - interrupt-parent = <&icu0>; - interrupts = <63 96>; - }; - etop@E180000 { - compatible = "lantiq,etop-xway"; - reg = <0xE180000 0x40000>; - interrupt-parent = <&icu0>; - interrupts = <105 109>; - phy-mode = "ephy"; + phy-mode = "mii"; mac-address = [ 00 11 22 33 44 55 ]; }; spi@E100800 { - compatible = "lantiq,spi-xway"; - reg = <0xE100800 0x100>; - interrupt-parent = <&icu0>; - interrupts = <24 25 26>; - #address-cells = <1>; - #size-cells = <1>; - m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "s25fl129p0"; + compatible = "mx25l3205d"; reg = <0 0>; - linux,modalias = "m25p80", "mx25l3205d"; + linux,modalias = "m25p80", "mx25l64"; spi-max-frequency = <5000000>; partition@0 { @@ -105,46 +79,53 @@ }; }; }; + ifxhcd@E101000 { + status = "okay"; + }; }; - - /* missing button on <&gpio 25 0> */ -/* gpio-keys { - compatible = "gpio-keys"; - interrupt-parent = <&icu0>; - interrupts = <30 31>; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <100>; + reset { - label = "Reset"; - gpios = <&gpio 0 0>; - gpio-key,wakeup; + label = "reset"; + gpios = <&gpio 0 1>; linux,code = <0x100>; }; + rfkill { + label = "rfkill"; + gpios = <&gpio 25 1>; + linux,code = <0xf7>; + }; wps { - label = "WPS"; + label = "wps"; gpios = <&gpio 29 1>; - gpio-key,wakeup; - linux,code = <0x100>; + linux,code = <0x211>; }; }; -*/ + gpio-leds { - compatible = "gpio-leds"; - festnetz { - label = "DSL"; + cmpatible = "gpio-leds"; + dsl { + label = "dsl"; gpios = <&gpio 1 1>; default-state = "on"; }; - internet1 { - label = "Internet1"; + online { + label = "online"; gpios = <&gpio 2 1>; default-state = "on"; }; - internet2 { - label = "Internet2"; + online2 { + label = "online2"; gpios = <&gpio 3 1>; default-state = "on"; }; wps { - label = "WPS"; + label = "wps"; gpios = <&gpio 4 1>; default-state = "on"; }; |