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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
  2 
  3 /dts-v1/;
  4 #include <dt-bindings/input/input.h>
  5 #include <dt-bindings/gpio/gpio.h>
  6 #include <dt-bindings/leds/common.h>
  7 
  8 #include "mt7981b.dtsi"
  9 
 10 / {
 11         compatible = "cudy,wr3000-v1", "mediatek,mt7981b";
 12         model = "Cudy WR3000 V1";
 13 
 14         memory@40000000 {
 15                 reg = <0 0x40000000 0 0x10000000>;
 16                 device_type = "memory";
 17         };
 18 
 19         keys {
 20                 compatible = "gpio-keys";
 21 
 22                 key-wps {
 23                         label = "WPS";
 24                         gpios = <&pio 0 GPIO_ACTIVE_LOW>;
 25                         linux,code = <KEY_WPS_BUTTON>;
 26                 };
 27 
 28                 key-reset {
 29                         label = "RESET";
 30                         gpios = <&pio 1 GPIO_ACTIVE_LOW>;
 31                         linux,code = <KEY_RESTART>;
 32                 };
 33         };
 34 
 35         leds {
 36                 compatible = "gpio-leds";
 37 
 38                 led-0 {
 39                         color = <LED_COLOR_ID_BLUE>;
 40                         function = LED_FUNCTION_WAN;
 41                         gpios = <&pio 5 GPIO_ACTIVE_LOW>;
 42                 };
 43 
 44                 led-1 {
 45                         color = <LED_COLOR_ID_BLUE>;
 46                         function = LED_FUNCTION_WLAN_2GHZ;
 47                         gpios = <&pio 6 GPIO_ACTIVE_LOW>;
 48                 };
 49 
 50                 led-2 {
 51                         color = <LED_COLOR_ID_BLUE>;
 52                         function = LED_FUNCTION_WLAN_5GHZ;
 53                         gpios = <&pio 7 GPIO_ACTIVE_LOW>;
 54                 };
 55 
 56                 led-3 {
 57                         color = <LED_COLOR_ID_BLUE>;
 58                         function = LED_FUNCTION_LAN;
 59                         gpios = <&pio 9 GPIO_ACTIVE_LOW>;
 60                 };
 61 
 62                 led-4 {
 63                         color = <LED_COLOR_ID_BLUE>;
 64                         function = LED_FUNCTION_STATUS;
 65                         gpios = <&pio 10 GPIO_ACTIVE_LOW>;
 66                 };
 67 
 68                 led-5 {
 69                         color = <LED_COLOR_ID_BLUE>;
 70                         function = LED_FUNCTION_WAN_ONLINE;
 71                         gpios = <&pio 11 GPIO_ACTIVE_LOW>;
 72                 };
 73         };
 74 };

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