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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/ti/omap/am335x-netcan-plus-1xx.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-only
  2 /*
  3  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
  4  */
  5 
  6 /*
  7  * VScom OnRISC
  8  * https://www.vscom.de
  9  */
 10 
 11 /dts-v1/;
 12 
 13 #include "am335x-baltos.dtsi"
 14 #include "am335x-baltos-leds.dtsi"
 15 
 16 / {
 17         model = "NetCAN";
 18 
 19         leds {
 20                 pinctrl-names = "default";
 21                 pinctrl-0 = <&user_leds_s0>;
 22 
 23                 compatible = "gpio-leds";
 24 
 25                 led@1 {
 26                         label = "can_data";
 27                         linux,default-trigger = "netdev";
 28                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
 29                         default-state = "off";
 30                 };
 31                 led@2 {
 32                         label = "can_error";
 33                         gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
 34                         default-state = "off";
 35                 };
 36         };
 37 };
 38 
 39 &am33xx_pinmux {
 40         user_leds_s0: user-leds-s0-pins {
 41                 pinctrl-single,pins = <
 42                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7)    /* CAN Data LED */
 43                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7)    /* CAN Error LED */
 44                 >;
 45         };
 46 
 47         dcan1_pins: dcan1-pins {
 48                 pinctrl-single,pins = <
 49                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2)    /* CAN TX */
 50                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2)     /* CAN RX */
 51                 >;
 52         };
 53 };
 54 
 55 &usb0_phy {
 56         status = "okay";
 57 };
 58 
 59 &usb0 {
 60         status = "okay";
 61         dr_mode = "host";
 62 };
 63 
 64 &davinci_mdio_sw {
 65         phy0: ethernet-phy@0 {
 66                 reg = <1>;
 67         };
 68 };
 69 
 70 &cpsw_port1 {
 71         phy-mode = "rmii";
 72         ti,dual-emac-pvid = <1>;
 73         phy-handle = <&phy0>;
 74 };
 75 
 76 &cpsw_port2 {
 77         phy-mode = "rgmii-id";
 78         ti,dual-emac-pvid = <2>;
 79         phy-handle = <&phy1>;
 80 };
 81 
 82 &dcan1 {
 83         pinctrl-names = "default";
 84         pinctrl-0 = <&dcan1_pins>;
 85 
 86         status = "okay";
 87 };
 88 
 89 &gpio0 {
 90         gpio-line-names =
 91                 "MDIO",
 92                 "MDC",
 93                 "NC",
 94                 "NC",
 95                 "I2C1_SDA",
 96                 "I2C1_SCL",
 97                 "NC",
 98                 "NC",
 99                 "NC",
100                 "NC",
101                 "NC",
102                 "NC",
103                 "NC",
104                 "NC",
105                 "can_data",
106                 "can_error",
107                 "onrisc:blue:wlan",
108                 "onrisc:green:app",
109                 "USB0_DRVVBUS",
110                 "ETH2_INT",
111                 "NC",
112                 "NC",
113                 "MMC1_DAT0",
114                 "MMC1_DAT1",
115                 "NC",
116                 "NC",
117                 "MMC1_DAT2",
118                 "MMC1_DAT3",
119                 "NC",
120                 "NC",
121                 "GPMC_WAIT0",
122                 "GPMC_WP_N";
123 };
124 
125 &gpio1 {
126         gpio-line-names =
127                 "GPMC_AD0",
128                 "GPMC_AD1",
129                 "GPMC_AD2",
130                 "GPMC_AD3",
131                 "GPMC_AD4",
132                 "GPMC_AD5",
133                 "GPMC_AD6",
134                 "GPMC_AD7",
135                 "DCAN1_TX",
136                 "DCAN1_RX",
137                 "CONSOLE_RX",
138                 "CONSOLE_TX",
139                 "NC",
140                 "NC",
141                 "NC",
142                 "NC",
143                 "RGMII2_TCTL",
144                 "RGMII2_RCTL",
145                 "RGMII2_TD3",
146                 "RGMII2_TD2",
147                 "RGMII2_TD1",
148                 "RGMII2_TD0",
149                 "RGMII2_TCLK",
150                 "RGMII2_RCLK",
151                 "RGMII2_RD3",
152                 "RGMII2_RD2",
153                 "RGMII2_RD1",
154                 "RGMII2_RD0",
155                 "PMIC_INT1",
156                 "GPMC_CSN0_Flash",
157                 "MMC1_CLK",
158                 "MMC1_CMD";
159 };
160 
161 &gpio2 {
162         gpio-line-names =
163                 "GPMC_CSN3_BUS",
164                 "GPMC_CLK",
165                 "GPMC_ADVN_ALE",
166                 "GPMC_OEN_RE_N",
167                 "GPMC_WE_N",
168                 "GPMC_BEN0_CLE",
169                 "NC",
170                 "NC",
171                 "NC",
172                 "NC",
173                 "NC",
174                 "NC",
175                 "NC",
176                 "NC",
177                 "NC",
178                 "NC",
179                 "NC",
180                 "NC",
181                 "SW2_0",
182                 "SW2_1",
183                 "NC",
184                 "NC",
185                 "NC",
186                 "NC",
187                 "NC",
188                 "NC",
189                 "MMC0_DAT3",
190                 "MMC0_DAT2",
191                 "MMC0_DAT1",
192                 "MMC0_DAT0",
193                 "MMC0_CLK",
194                 "MMC0_CMD";
195 };
196 
197 &gpio3 {
198         gpio-line-names =
199                 "onrisc:red:power",
200                 "NC",
201                 "NC",
202                 "NC",
203                 "NC",
204                 "NC",
205                 "NC",
206                 "WLAN_IRQ",
207                 "WLAN_EN",
208                 "SW2_2",
209                 "SW2_3",
210                 "NC",
211                 "NC",
212                 "NC",
213                 "ModeA0",
214                 "ModeA1",
215                 "ModeA2",
216                 "ModeA3",
217                 "NC",
218                 "NC",
219                 "NC",
220                 "NC",
221                 "NC",
222                 "NC",
223                 "NC",
224                 "NC",
225                 "NC",
226                 "NC",
227                 "NC",
228                 "NC",
229                 "NC",
230                 "NC";
231 };

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