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

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

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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 #include <dt-bindings/leds/common.h>
  7 
  8 #include "ar9331.dtsi"
  9 
 10 / {
 11         model = "DPTechnics DPT-Module";
 12         compatible = "dptechnics,dpt-module";
 13 
 14         aliases {
 15                 serial0 = &uart;
 16         };
 17 
 18         memory@0 {
 19                 device_type = "memory";
 20                 reg = <0x0 0x4000000>;
 21         };
 22 
 23         leds {
 24                 compatible = "gpio-leds";
 25 
 26                 led-0 {
 27                         function = LED_FUNCTION_STATUS;
 28                         color = <LED_COLOR_ID_GREEN>;
 29                         gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
 30                         default-state = "off";
 31                 };
 32         };
 33 
 34         gpio-keys {
 35                 compatible = "gpio-keys";
 36 
 37                 button-0 {
 38                         label = "reset";
 39                         linux,code = <KEY_RESTART>;
 40                         gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
 41                 };
 42         };
 43 };
 44 
 45 &ref {
 46         clock-frequency = <25000000>;
 47 };
 48 
 49 &uart {
 50         status = "okay";
 51 };
 52 
 53 &gpio {
 54         status = "okay";
 55 };
 56 
 57 &usb {
 58         dr_mode = "host";
 59         status = "okay";
 60 };
 61 
 62 &usb_phy {
 63         status = "okay";
 64 };
 65 
 66 &spi {
 67         num-chipselects = <1>;
 68         status = "okay";
 69 
 70         /* Winbond 25Q128FVSG SPI flash */
 71         spiflash: w25q128@0 {
 72                 #address-cells = <1>;
 73                 #size-cells = <1>;
 74                 compatible = "winbond,w25q128", "jedec,spi-nor";
 75                 spi-max-frequency = <104000000>;
 76                 reg = <0>;
 77         };
 78 };
 79 
 80 &eth0 {
 81         status = "okay";
 82 };
 83 
 84 &eth1 {
 85         status = "okay";
 86 };
 87 
 88 &switch_port1 {
 89         label = "lan0";
 90         status = "okay";
 91 };
 92 
 93 &phy_port0 {
 94         status = "okay";
 95 };
 96 
 97 &phy_port4 {
 98         status = "okay";
 99 };

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