1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
10 bootargs = "console=ttyLTQ0,115200";
14 device_type = "memory";
15 reg = <0x0 0x10000000>;
19 led-boot = &led_power_green;
20 led-failsafe = &led_info_red;
21 led-running = &led_power_green;
22 led-upgrade = &led_info_red;
26 compatible = "gpio-keys-polled";
27 poll-interval = <100>;
31 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_POWER>;
37 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RFKILL>;
43 compatible = "gpio-leds";
45 led_power_green: power_green {
46 label = "green:power";
47 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
48 default-state = "keep";
51 led_info_green: info_green {
53 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
56 led_info_red: info_red {
58 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
64 lantiq,gphy-mode = <GPHY_MODE_GE>;
68 lantiq,gphy-mode = <GPHY_MODE_GE>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&state_default>;
74 gpio-ranges = <&gpio 0 0 56>;
76 state_default: pinmux {
78 lantiq,pins = "io32", "io44";
93 line-name = "usb-vbus";
94 gpios = <14 GPIO_ACTIVE_HIGH>;
100 line-name = "pcie-enable-dev";
101 gpios = <22 GPIO_ACTIVE_LOW>;
107 pinctrl-0 = <&mdio_pins>;
108 pinctrl-names = "default";
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <10000000>;
120 compatible = "fixed-partitions";
121 #address-cells = <1>;
124 urlader: partition@0 {
131 reg = <0x40000 0x60000>;
137 reg = <0xa0000 0x60000>;
147 compatible = "lantiq,nand-xway";
149 reg = <0x1 0x0 0x2000000>;
152 compatible = "fixed-partitions";
153 #address-cells = <1>;
158 reg = <0x0 0x400000>;
163 reg = <0x400000 0x1fc00000>;
172 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
173 lantiq,switch-pcie-endianess;