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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/ti/omap/am335x-wega.dtsi

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) 2015 Phytec Messtechnik GmbH
  4  * Author: Teresa Remmet <t.remmet@phytec.de>
  5  */
  6 
  7 / {
  8         model = "Phytec AM335x phyBOARD-WEGA";
  9         compatible = "phytec,am335x-wega", "phytec,am335x-phycore-som", "ti,am33xx";
 10 
 11         sound: sound {
 12                 compatible = "simple-audio-card";
 13                 simple-audio-card,name = "snd-wega";
 14                 simple-audio-card,format = "i2s";
 15                 simple-audio-card,bitclock-master = <&sound_iface_main>;
 16                 simple-audio-card,frame-master = <&sound_iface_main>;
 17                 simple-audio-card,mclk-fs = <512>;
 18                 simple-audio-card,widgets =
 19                                         "Line", "Line In",
 20                                         "Line", "Line Out",
 21                                         "Speaker", "Speaker";
 22                 simple-audio-card,routing =
 23                                         "Line Out", "LLOUT",
 24                                         "Line Out", "RLOUT",
 25                                         "Speaker", "SPOP",
 26                                         "Speaker", "SPOM",
 27                                         "LINE1L", "Line In",
 28                                         "LINE1R", "Line In";
 29 
 30                 sound_iface_main: simple-audio-card,cpu {
 31                         sound-dai = <&mcasp0>;
 32                 };
 33 
 34                 simple-audio-card,codec {
 35                         sound-dai = <&tlv320aic3007>;
 36                 };
 37 
 38         };
 39 
 40         vcc3v3: fixedregulator1 {
 41                 compatible = "regulator-fixed";
 42                 regulator-name = "vcc3v3";
 43                 regulator-min-microvolt = <3300000>;
 44                 regulator-max-microvolt = <3300000>;
 45                 regulator-boot-on;
 46         };
 47 };
 48 
 49 /* Audio */
 50 &am33xx_pinmux {
 51         mcasp0_pins: pinmux-mcasp0-pins {
 52                 pinctrl-single,pins = <
 53                         AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
 54                         AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT_PULLDOWN, MUX_MODE0)
 55                         AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_INPUT_PULLDOWN, MUX_MODE0)
 56                         AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_INPUT_PULLDOWN, MUX_MODE0)
 57                         AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR1, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
 58                 >;
 59         };
 60 };
 61 
 62 &i2c0 {
 63         tlv320aic3007: tlv320aic3007@18 {
 64                 #sound-dai-cells = <0>;
 65                 compatible = "ti,tlv320aic3007";
 66                 reg = <0x18>;
 67                 AVDD-supply = <&vcc3v3>;
 68                 IOVDD-supply = <&vcc3v3>;
 69                 DRVDD-supply = <&vcc3v3>;
 70                 DVDD-supply = <&vdig1_reg>;
 71                 status = "okay";
 72         };
 73 };
 74 
 75 &mcasp0 {
 76         #sound-dai-cells = <0>;
 77         pinctrl-names = "default";
 78         pinctrl-0 = <&mcasp0_pins>;
 79         op-mode = <0>; /* DAVINCI_MCASP_IIS_MODE */
 80         tdm-slots = <2>;
 81         serial-dir = <
 82                 2 1 0 0 /* # 0: INACTIVE, 1: TX, 2: RX */
 83         >;
 84         tx-num-evt = <16>;
 85         rx-num-evt = <16>;
 86         status = "okay";
 87 };
 88 
 89 
 90 /* CAN Busses */
 91 &am33xx_pinmux {
 92         dcan1_pins: pinmux-dcan1-pins {
 93                 pinctrl-single,pins = <
 94                         AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT_PULLUP, MUX_MODE2) /* uart0_ctsn.d_can1_tx */
 95                         AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT_PULLUP, MUX_MODE2) /* uart0_rtsn.d_can1_rx */
 96                 >;
 97         };
 98 };
 99 
100 &dcan1 {
101         pinctrl-names = "default";
102         pinctrl-0 = <&dcan1_pins>;
103         status = "okay";
104 };
105 
106 /* Ethernet */
107 &am33xx_pinmux {
108         ethernet1_pins: pinmux-ethernet1-pins {
109                 pinctrl-single,pins = <
110                         AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_OUTPUT, MUX_MODE1)               /* gpmc_a0.mii2_txen */
111                         AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE1)       /* gpmc_a1.mii2_rxdv */
112                         AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT, MUX_MODE1)               /* gpmc_a2.mii2_txd3 */
113                         AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT, MUX_MODE1)               /* gpmc_a3.mii2_txd2 */
114                         AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT, MUX_MODE1)               /* gpmc_a4.mii2_txd1 */
115                         AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE1)               /* gpmc_a5.mii2_txd0 */
116                         AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_INPUT_PULLDOWN, MUX_MODE1)       /* gpmc_a6.mii2_txclk */
117                         AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_INPUT_PULLDOWN, MUX_MODE1)       /* gpmc_a7.mii2_rxclk */
118                         AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_INPUT_PULLDOWN, MUX_MODE1)       /* gpmc_a8.mii2_rxd3 */
119                         AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLDOWN, MUX_MODE1)       /* gpmc_a9.mii2_rxd2 */
120                         AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE1)      /* gpmc_a10.mii2_rxd1 */
121                         AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE1)      /* gpmc_a11.mii2_rxd0 */
122                         AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_INPUT_PULLDOWN, MUX_MODE1)      /* gpmc_wpn.mii2_rxerr */
123                         AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_INPUT_PULLDOWN, MUX_MODE1)     /* gpmc_ben1.mii2_col */
124                 >;
125         };
126 };
127 
128 &cpsw_port2 {
129         status = "okay";
130         phy-handle = <&phy1>;
131         phy-mode = "mii";
132         ti,dual-emac-pvid = <2>;
133 };
134 
135 &davinci_mdio_sw {
136         phy1: ethernet-phy@1 {
137                 reg = <1>;
138         };
139 };
140 
141 &mac_sw {
142         pinctrl-names = "default";
143         pinctrl-0 = <&ethernet0_pins &ethernet1_pins>;
144 };
145 
146 /* MMC */
147 &am33xx_pinmux {
148         mmc1_pins: pinmux-mmc1-pins {
149                 pinctrl-single,pins = <
150                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
151                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
152                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
153                         AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
154                         AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
155                         AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
156                         AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT_PULLUP, MUX_MODE7)        /* spi0_cs1.mmc0_sdcd */
157                 >;
158         };
159 };
160 
161 &mmc1 {
162         vmmc-supply = <&vcc3v3>;
163         bus-width = <4>;
164         pinctrl-names = "default";
165         pinctrl-0 = <&mmc1_pins>;
166         cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
167         status = "okay";
168 };
169 
170 /* Power */
171 &vdig1_reg {
172         regulator-boot-on;
173         regulator-always-on;
174 };
175 
176 /* UARTs */
177 &am33xx_pinmux {
178         uart0_pins: pinmux-uart0-pins {
179                 pinctrl-single,pins = <
180                         AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
181                         AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
182                 >;
183         };
184 
185         uart1_pins: pinmux-uart1-pins {
186                 pinctrl-single,pins = <
187                         AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
188                         AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
189                         AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT, MUX_MODE0)
190                         AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
191                 >;
192         };
193 };
194 
195 &uart0 {
196         pinctrl-names = "default";
197         pinctrl-0 = <&uart0_pins>;
198         status = "okay";
199 };
200 
201 &uart1 {
202         pinctrl-names = "default";
203         pinctrl-0 = <&uart1_pins>;
204         status = "okay";
205 };
206 
207 &usb1 {
208         dr_mode = "host";
209 };

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