1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3- 2 3 /dts-v1/; 4 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/leds/common.h> 8 9 #include "ipq5018.dtsi" 10 11 / { 12 model = "TP-Link Archer AX55 v1"; 13 compatible = "tplink,archer-ax55-v1", 14 15 aliases { 16 serial0 = &blsp1_uart1; 17 }; 18 19 chosen { 20 stdout-path = "serial0:115200n 21 }; 22 23 leds { 24 compatible = "gpio-leds"; 25 pinctrl-0 = <&led_pins>; 26 pinctrl-names = "default"; 27 28 led-0 { 29 color = <LED_COLOR_ID_ 30 function = LED_FUNCTIO 31 gpios = <&tlmm 10 GPIO 32 }; 33 34 led-1 { 35 color = <LED_COLOR_ID_ 36 function = LED_FUNCTIO 37 gpios = <&tlmm 11 GPIO 38 }; 39 40 led-2 { 41 color = <LED_COLOR_ID_ 42 function = LED_FUNCTIO 43 gpios = <&tlmm 13 GPIO 44 }; 45 46 led-3 { 47 color = <LED_COLOR_ID_ 48 function = LED_FUNCTIO 49 gpios = <&tlmm 18 GPIO 50 }; 51 52 led-4 { 53 color = <LED_COLOR_ID_ 54 function = LED_FUNCTIO 55 gpios = <&tlmm 22 GPIO 56 }; 57 58 led-5 { 59 color = <LED_COLOR_ID_ 60 function = LED_FUNCTIO 61 gpios = <&tlmm 38 GPIO 62 }; 63 64 led-6 { 65 color = <LED_COLOR_ID_ 66 function = LED_FUNCTIO 67 gpios = <&tlmm 39 GPIO 68 }; 69 }; 70 71 buttons { 72 compatible = "gpio-keys"; 73 pinctrl-0 = <&button_pins>; 74 pinctrl-names = "default"; 75 76 button-reset { 77 debounce-interval = <6 78 gpios = <&tlmm 25 GPIO 79 label = "reset"; 80 linux,code = <KEY_REST 81 }; 82 83 button-wps { 84 debounce-interval = <6 85 gpios = <&tlmm 31 GPIO 86 label = "wps"; 87 linux,code = <KEY_WPS_ 88 }; 89 }; 90 }; 91 92 &blsp1_uart1 { 93 pinctrl-0 = <&uart_pins>; 94 pinctrl-names = "default"; 95 status = "okay"; 96 }; 97 98 &sleep_clk { 99 clock-frequency = <32000>; 100 }; 101 102 &tlmm { 103 button_pins: button-pins-state { 104 pins = "gpio25", "gpio31"; 105 function = "gpio"; 106 drive-strength = <8>; 107 bias-pull-up; 108 }; 109 110 led_pins: led-pins-state { 111 pins = "gpio10", "gpio11", "gp 112 "gpio38", "gpio39"; 113 function = "gpio"; 114 drive-strength = <2>; 115 bias-disable; 116 }; 117 118 uart_pins: uart-pins-state { 119 pins = "gpio20", "gpio21"; 120 function = "blsp0_uart0"; 121 drive-strength = <8>; 122 bias-disable; 123 }; 124 }; 125 126 &xo_board_clk { 127 clock-frequency = <24000000>; 128 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.