mtd: fix build with GCC 14
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / falcon_lantiq_easy98021.dts
1 #include <dt-bindings/leds/common.h>
2
3 #include "falcon.dtsi"
4 #include "falcon_sflash-16m.dtsi"
5
6 #include <dt-bindings/gpio/gpio.h>
7
8 / {
9 model = "Lantiq Falcon HGU Reference Board";
10 compatible = "lantiq,easy98021", "lantiq,easy98020", "lantiq,falcon";
11
12 aliases {
13 spi0 = &ebu_cs0;
14 };
15
16 memory@0 {
17 device_type = "memory";
18 reg = <0x0 0x4000000>; // 64M at 0x0
19 };
20
21 keys {
22 compatible = "gpio-keys";
23 reset {
24 label = "reset";
25 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
26 linux,code = <0x198>;
27 };
28 };
29
30 gpio-mmc {
31 /* Place-holder for SIM-Card connector,
32 to list the used GPIOs, no official binding */
33 compatible = "gpio-mmc";
34 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
35 <&gpio0 3 GPIO_ACTIVE_HIGH>,
36 <&gpio0 2 GPIO_ACTIVE_HIGH>,
37 <0>; /* no CS */
38 gpio-names = "di", "do", "clk", "cs";
39 reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
40 };
41
42 pinctrl {
43 led_pins: led-pins {
44 lantiq,pins = "io11", "io14", "io36", "io37", "io38";
45 lantiq,function = "gpio";
46 };
47 };
48
49 leds {
50 compatible = "gpio-leds";
51 pinctrl-names = "default";
52 pinctrl-0 = <&led_pins &bootled_pins>;
53
54 GPON {
55 label = "green:gpon";
56 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
57 default-state = "keep";
58 };
59 TEST {
60 label = "red:test";
61 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
62 default-state = "keep";
63 };
64 ETH {
65 function = LED_FUNCTION_STATUS;
66 color = <LED_COLOR_ID_GREEN>;
67 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
68 default-state = "keep";
69 };
70 VOICE {
71 label = "green:voice";
72 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
73 default-state = "keep";
74 };
75 SIMCARD {
76 label = "green:simcard";
77 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
78 default-state = "keep";
79 };
80 };
81 };
82