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

TOMOYO Linux Cross Reference
Linux/arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 
  4 #include <dt-bindings/gpio/gpio.h>
  5 #include <dt-bindings/input/input.h>
  6 
  7 #include "ar9132.dtsi"
  8 
  9 / {
 10         compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
 11         model = "TP-Link TL-WR1043ND Version 1";
 12 
 13         memory@0 {
 14                 device_type = "memory";
 15                 reg = <0x0 0x2000000>;
 16         };
 17 
 18         extosc: ref {
 19                 compatible = "fixed-clock";
 20                 #clock-cells = <0>;
 21                 clock-frequency = <40000000>;
 22         };
 23 
 24         gpio-keys {
 25                 compatible = "gpio-keys";
 26 
 27                 button-0 {
 28                         label = "reset";
 29                         linux,code = <KEY_RESTART>;
 30                         gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
 31                         debounce-interval = <60>;
 32                 };
 33 
 34                 button-1 {
 35                         label = "qss";
 36                         linux,code = <KEY_WPS_BUTTON>;
 37                         gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
 38                         debounce-interval = <60>;
 39                 };
 40         };
 41 
 42         leds {
 43                 compatible = "gpio-leds";
 44                 led-0 {
 45                         label = "tp-link:green:usb";
 46                         gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
 47                 };
 48 
 49                 led-1 {
 50                         label = "tp-link:green:system";
 51                         gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
 52                         linux,default-trigger = "heartbeat";
 53                 };
 54 
 55                 led-2 {
 56                         label = "tp-link:green:qss";
 57                         gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
 58                 };
 59 
 60                 led-3 {
 61                         label = "tp-link:green:wlan";
 62                         gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
 63                 };
 64         };
 65 };
 66 
 67 &uart {
 68         status = "okay";
 69 };
 70 
 71 &pll {
 72         clocks = <&extosc>;
 73 };
 74 
 75 &usb {
 76         status = "okay";
 77 };
 78 
 79 &usb_phy {
 80         status = "okay";
 81 };
 82 
 83 &spi {
 84         status = "okay";
 85         num-cs = <1>;
 86 
 87         flash@0 {
 88                 #address-cells = <1>;
 89                 #size-cells = <1>;
 90                 compatible = "s25sl064a";
 91                 reg = <0>;
 92                 spi-max-frequency = <25000000>;
 93 
 94                 partition@0 {
 95                         label = "u-boot";
 96                         reg = <0x000000 0x020000>;
 97                 };
 98 
 99                 partition@1 {
100                         label = "firmware";
101                         reg = <0x020000 0x7D0000>;
102                 };
103 
104                 partition@2 {
105                         label = "art";
106                         reg = <0x7F0000 0x010000>;
107                         read-only;
108                 };
109         };
110 };

~ [ 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