1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "joyit,jt-or750i", "qca,qca9531";
10 model = "Joy-IT JT-OR750i";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_red;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-leds";
33 pinctrl-names = "default";
34 pinctrl-0 = <&jtag_disable_pins &pinmux_led_eth_pins>;
36 led_status_green: status_green {
37 label = "green:status";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 led_status_red: status_red {
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
50 pinmux_led_eth_pins: pinmux_led_eth_pins {
51 pinctrl-single,bits = \
52 /* GPIO 4: LED_LINK_5 (WAN) */ \
53 <0x04 0x0000002d 0x000000ff>, \
54 /* GPIO 14: LED_LINK_2 (LAN 3) */ \
55 /* GPIO 15: LED_LINK_3 (LAN 2) */ \
56 <0x0c 0x2b2a0000 0xffff0000>, \
57 /* GPIO 16: LED_LINK_4 (LAN 1) */ \
58 <0x10 0x0000002c 0x000000ff>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <50000000>;
71 compatible = "fixed-partitions";
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0xfa0000>;
90 compatible = "denx,uimage";
93 art: partition@ff0000 {
95 reg = <0xff0000 0x10000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 macaddr_art_0: macaddr@0 {
107 macaddr_art_6: macaddr@6 {
119 phy-handle = <&swphy4>;
121 nvmem-cells = <&macaddr_art_0>;
122 nvmem-cell-names = "mac-address";
126 nvmem-cells = <&macaddr_art_6>;
127 nvmem-cell-names = "mac-address";
137 mtd-cal-data = <&art 0x1000>;