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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/gemini/gemini-rut1xx.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
  2 /*
  3  * Device Tree file for Teltonika RUT1xx
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include "gemini.dtsi"
  9 #include <dt-bindings/input/input.h>
 10 
 11 / {
 12         model = "Teltonika RUT1xx";
 13         compatible = "teltonika,rut1xx", "cortina,gemini";
 14         #address-cells = <1>;
 15         #size-cells = <1>;
 16 
 17         memory@0 { /* 128 MB */
 18                 device_type = "memory";
 19                 reg = <0x00000000 0x8000000>;
 20         };
 21 
 22         chosen {
 23                 bootargs = "console=ttyS0,115200n8";
 24                 stdout-path = &uart0;
 25         };
 26 
 27         gpio_keys {
 28                 compatible = "gpio-keys";
 29 
 30                 button-setup {
 31                         debounce-interval = <100>;
 32                         wakeup-source;
 33                         linux,code = <KEY_SETUP>;
 34                         label = "Reset to defaults";
 35                         /* Conflict with TVC */
 36                         gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
 37                 };
 38         };
 39 
 40         leds {
 41                 compatible = "gpio-leds";
 42                 led-gsm {
 43                         /* FIXME: add the LED color */
 44                         label = "rut1xx::gsm";
 45                         /* Conflict with ICE */
 46                         gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
 47                         default-state = "on";
 48                 };
 49                 led-power {
 50                         /* FIXME: add the LED color */
 51                         label = "rut1xx::power";
 52                         /* Conflict with NAND CE0 */
 53                         gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
 54                         default-state = "off";
 55                         linux,default-trigger = "heartbeat";
 56                 };
 57         };
 58 
 59         mdio0: mdio {
 60                 compatible = "virtual,mdio-gpio";
 61                 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
 62                         <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
 63                 #address-cells = <1>;
 64                 #size-cells = <0>;
 65 
 66                 phy0: ethernet-phy@1 {
 67                         reg = <1>;
 68                         device_type = "ethernet-phy";
 69                 };
 70         };
 71 
 72         soc {
 73                 flash@30000000 {
 74                         status = "okay";
 75                         /* 8MB of flash */
 76                         reg = <0x30000000 0x00800000>;
 77                         /* TODO: add flash partitions here */
 78                 };
 79 
 80                 syscon: syscon@40000000 {
 81                         pinctrl {
 82                                 /*
 83                                  * gpio0bgrp cover line 7 used by GSM LED
 84                                  * gpio0fgrp cover line 17 used by power LED
 85                                  */
 86                                 gpio0_default_pins: pinctrl-gpio0 {
 87                                         mux {
 88                                                 function = "gpio0";
 89                                                 groups = "gpio0bgrp",
 90                                                 "gpio0fgrp";
 91                                         };
 92                                 };
 93                                 /*
 94                                  * gpio1dgrp cover line 28-31 otherwise used
 95                                  * by TVC.
 96                                  */
 97                                 gpio1_default_pins: pinctrl-gpio1 {
 98                                         mux {
 99                                                 function = "gpio1";
100                                                 groups = "gpio1dgrp";
101                                         };
102                                 };
103                         };
104                 };
105 
106                 gpio0: gpio@4d000000 {
107                         pinctrl-names = "default";
108                         pinctrl-0 = <&gpio0_default_pins>;
109                 };
110 
111                 gpio1: gpio@4e000000 {
112                         pinctrl-names = "default";
113                         pinctrl-0 = <&gpio1_default_pins>;
114                 };
115 
116                 ethernet@60000000 {
117                         status = "okay";
118 
119                         ethernet-port@0 {
120                                 phy-mode = "rgmii";
121                                 phy-handle = <&phy0>;
122                         };
123                         ethernet-port@1 {
124                                 /* Not used in this platform */
125                         };
126                 };
127 
128                 usb@68000000 {
129                         status = "okay";
130                 };
131 
132                 usb@69000000 {
133                         status = "okay";
134                 };
135         };
136 };

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