~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
  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", "qcom,ipq5018";
 14 
 15         aliases {
 16                 serial0 = &blsp1_uart1;
 17         };
 18 
 19         chosen {
 20                 stdout-path = "serial0:115200n8";
 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_GREEN>;
 30                         function = LED_FUNCTION_LAN;
 31                         gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
 32                 };
 33 
 34                 led-1 {
 35                         color = <LED_COLOR_ID_GREEN>;
 36                         function = LED_FUNCTION_WAN_ONLINE;
 37                         gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
 38                 };
 39 
 40                 led-2 {
 41                         color = <LED_COLOR_ID_GREEN>;
 42                         function = LED_FUNCTION_WLAN_2GHZ;
 43                         gpios = <&tlmm 13 GPIO_ACTIVE_HIGH>;
 44                 };
 45 
 46                 led-3 {
 47                         color = <LED_COLOR_ID_GREEN>;
 48                         function = LED_FUNCTION_POWER;
 49                         gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
 50                 };
 51 
 52                 led-4 {
 53                         color = <LED_COLOR_ID_ORANGE>;
 54                         function = LED_FUNCTION_WAN;
 55                         gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
 56                 };
 57 
 58                 led-5 {
 59                         color = <LED_COLOR_ID_GREEN>;
 60                         function = LED_FUNCTION_USB;
 61                         gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
 62                 };
 63 
 64                 led-6 {
 65                         color = <LED_COLOR_ID_GREEN>;
 66                         function = LED_FUNCTION_WLAN_5GHZ;
 67                         gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
 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 = <60>;
 78                         gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
 79                         label = "reset";
 80                         linux,code = <KEY_RESTART>;
 81                 };
 82 
 83                 button-wps {
 84                         debounce-interval = <60>;
 85                         gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
 86                         label = "wps";
 87                         linux,code = <KEY_WPS_BUTTON>;
 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", "gpio13", "gpio18", "gpio22",
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 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php