1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
11 bootargs = "console=ttyLTQ0,115200";
15 device_type = "memory";
16 reg = <0x0 0x10000000>;
20 led-boot = &led_power_green;
21 led-failsafe = &led_info_red;
22 led-running = &led_power_green;
23 led-upgrade = &led_info_red;
27 compatible = "gpio-keys-polled";
28 poll-interval = <100>;
32 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_POWER>;
38 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
44 compatible = "gpio-leds";
46 led_power_green: power_green {
47 function = LED_FUNCTION_POWER;
48 color = <LED_COLOR_ID_GREEN>;
49 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
50 default-state = "keep";
53 led_info_green: info_green {
55 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
58 led_info_red: info_red {
60 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
66 lantiq,gphy-mode = <GPHY_MODE_GE>;
70 lantiq,gphy-mode = <GPHY_MODE_GE>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&state_default>;
76 gpio-ranges = <&gpio 0 0 56>;
78 state_default: pinmux {
80 lantiq,pins = "io32", "io44";
95 line-name = "usb-vbus";
96 gpios = <14 GPIO_ACTIVE_HIGH>;
102 line-name = "pcie-enable-dev";
103 gpios = <22 GPIO_ACTIVE_LOW>;
109 pinctrl-0 = <&mdio_pins>;
110 pinctrl-names = "default";
117 compatible = "jedec,spi-nor";
119 spi-max-frequency = <10000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
126 urlader: partition@0 {
133 reg = <0x40000 0x60000>;
139 reg = <0xa0000 0x60000>;
149 compatible = "lantiq,nand-xway";
151 reg = <0x1 0x0 0x2000000>;
154 compatible = "fixed-partitions";
155 #address-cells = <1>;
160 reg = <0x0 0x400000>;
165 reg = <0x400000 0x1fc00000>;
174 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
175 lantiq,switch-pcie-endianess;