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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx.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
  2 /*
  3  * Copyright (C) 2020 Linumiz
  4  * Author: Parthiban Nallathambi <parthiban@linumiz.com>
  5  */
  6 
  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/interrupt-controller/irq.h>
  9 #include <dt-bindings/pwm/pwm.h>
 10 
 11 / {
 12         model = "MYiR MYS-6ULX Single Board Computer";
 13         compatible = "fsl,imx6ull";
 14 
 15         chosen {
 16                 stdout-path = &uart1;
 17         };
 18 
 19         reg_vdd_5v: regulator-vdd-5v {
 20                 compatible = "regulator-fixed";
 21                 regulator-name = "VDD_5V";
 22                 regulator-min-microvolt = <5000000>;
 23                 regulator-max-microvolt = <5000000>;
 24                 regulator-always-on;
 25                 regulator-boot-on;
 26         };
 27 
 28         reg_vdd_3v3: regulator-vdd-3v3 {
 29                 compatible = "regulator-fixed";
 30                 regulator-name = "VDD_3V3";
 31                 regulator-min-microvolt = <3300000>;
 32                 regulator-max-microvolt = <3300000>;
 33                 regulator-always-on;
 34                 vin-supply = <&reg_vdd_5v>;
 35         };
 36 };
 37 
 38 &fec1 {
 39         pinctrl-names = "default";
 40         pinctrl-0 = <&pinctrl_enet1>;
 41         phy-mode = "rmii";
 42         phy-handle = <&ethphy0>;
 43         phy-supply = <&reg_vdd_3v3>;
 44         status = "okay";
 45 
 46         mdio: mdio {
 47                 #address-cells = <1>;
 48                 #size-cells = <0>;
 49 
 50                 ethphy0: ethernet-phy@0 {
 51                         reg = <0>;
 52                         interrupt-parent = <&gpio5>;
 53                         interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
 54                         clocks = <&clks IMX6UL_CLK_ENET_REF>;
 55                         clock-names = "rmii-ref";
 56                 };
 57         };
 58 };
 59 
 60 &gpmi {
 61         pinctrl-names = "default";
 62         pinctrl-0 = <&pinctrl_gpmi_nand>;
 63         nand-on-flash-bbt;
 64         status = "disabled";
 65 };
 66 
 67 &uart1 {
 68         pinctrl-names = "default";
 69         pinctrl-0 = <&pinctrl_uart1>;
 70         status = "okay";
 71 };
 72 
 73 &usbotg1 {
 74         pinctrl-names = "default";
 75         pinctrl-0 = <&pinctrl_usb_otg1_id>;
 76         dr_mode = "otg";
 77         status = "okay";
 78 };
 79 
 80 &usbotg2 {
 81         dr_mode = "host";
 82         disable-over-current;
 83         status = "okay";
 84 };
 85 
 86 &usdhc1 {
 87         pinctrl-names = "default", "state_100mhz", "state_200mhz";
 88         pinctrl-0 = <&pinctrl_usdhc1>;
 89         pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
 90         pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
 91         cd-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
 92         no-1-8-v;
 93         keep-power-in-suspend;
 94         wakeup-source;
 95         vmmc-supply = <&reg_vdd_3v3>;
 96         status = "okay";
 97 };
 98 
 99 &usdhc2 {
100         pinctrl-names = "default";
101         pinctrl-0 = <&pinctrl_usdhc2>;
102         pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
103         pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
104         bus-width = <8>;
105         non-removable;
106         keep-power-in-suspend;
107         vmmc-supply = <&reg_vdd_3v3>;
108 };
109 
110 &iomuxc {
111         pinctrl_enet1: enet1grp {
112                 fsl,pins = <
113                         MX6UL_PAD_GPIO1_IO06__ENET1_MDIO        0x1b0b0
114                         MX6UL_PAD_GPIO1_IO07__ENET1_MDC         0x1b0b0
115                         MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN      0x1b0b0
116                         MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER      0x1b0b0
117                         MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0
118                         MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0
119                         MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN      0x1b0b0
120                         MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0
121                         MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0
122                         MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1  0x4001b031
123                         MX6UL_PAD_SNVS_TAMPER5__GPIO5_IO05      0x1b0b0
124                 >;
125         };
126 
127         pinctrl_gpmi_nand: gpminandgrp {
128                 fsl,pins = <
129                         MX6UL_PAD_NAND_CLE__RAWNAND_CLE         0x0b0b1
130                         MX6UL_PAD_NAND_ALE__RAWNAND_ALE         0x0b0b1
131                         MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B       0x0b0b1
132                         MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0x0b000
133                         MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B     0x0b0b1
134                         MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B       0x0b0b1
135                         MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B       0x0b0b1
136                         MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00   0x0b0b1
137                         MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01   0x0b0b1
138                         MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02   0x0b0b1
139                         MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03   0x0b0b1
140                         MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04   0x0b0b1
141                         MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05   0x0b0b1
142                         MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06   0x0b0b1
143                         MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07   0x0b0b1
144                 >;
145         };
146 
147         pinctrl_uart1: uart1grp {
148                 fsl,pins = <
149                         MX6UL_PAD_UART1_TX_DATA__UART1_DCE_TX   0x1b0b1
150                         MX6UL_PAD_UART1_RX_DATA__UART1_DCE_RX   0x1b0b1
151                 >;
152         };
153 
154         pinctrl_usb_otg1_id: usbotg1idgrp {
155                 fsl,pins = <
156                         MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID    0x17059
157                 >;
158         };
159 
160         pinctrl_usdhc1: usdhc1grp {
161                 fsl,pins = <
162                         MX6UL_PAD_SD1_CMD__USDHC1_CMD           0x17059
163                         MX6UL_PAD_SD1_CLK__USDHC1_CLK           0x10059
164                         MX6UL_PAD_SD1_DATA0__USDHC1_DATA0       0x17059
165                         MX6UL_PAD_SD1_DATA1__USDHC1_DATA1       0x17059
166                         MX6UL_PAD_SD1_DATA2__USDHC1_DATA2       0x17059
167                         MX6UL_PAD_SD1_DATA3__USDHC1_DATA3       0x17059
168                         MX6UL_PAD_UART1_RTS_B__GPIO1_IO19       0x17059
169                 >;
170         };
171 
172         pinctrl_usdhc1_100mhz: usdhc1-100mhz-grp {
173                 fsl,pins = <
174                         MX6UL_PAD_SD1_CMD__USDHC1_CMD           0x170b9
175                         MX6UL_PAD_SD1_CLK__USDHC1_CLK           0x100b9
176                         MX6UL_PAD_SD1_DATA0__USDHC1_DATA0       0x170b9
177                         MX6UL_PAD_SD1_DATA1__USDHC1_DATA1       0x170b9
178                         MX6UL_PAD_SD1_DATA2__USDHC1_DATA2       0x170b9
179                         MX6UL_PAD_SD1_DATA3__USDHC1_DATA3       0x170b9
180                 >;
181         };
182 
183         pinctrl_usdhc1_200mhz: usdhc1-200mhz-grp {
184                 fsl,pins = <
185                         MX6UL_PAD_SD1_CMD__USDHC1_CMD           0x170f9
186                         MX6UL_PAD_SD1_CLK__USDHC1_CLK           0x100f9
187                         MX6UL_PAD_SD1_DATA0__USDHC1_DATA0       0x170f9
188                         MX6UL_PAD_SD1_DATA1__USDHC1_DATA1       0x170f9
189                         MX6UL_PAD_SD1_DATA2__USDHC1_DATA2       0x170f9
190                         MX6UL_PAD_SD1_DATA3__USDHC1_DATA3       0x170f9
191                 >;
192         };
193 
194         pinctrl_usdhc2: usdhc2grp {
195                 fsl,pins = <
196                         MX6UL_PAD_NAND_RE_B__USDHC2_CLK         0x10069
197                         MX6UL_PAD_NAND_WE_B__USDHC2_CMD         0x17059
198                         MX6UL_PAD_NAND_DATA00__USDHC2_DATA0     0x17059
199                         MX6UL_PAD_NAND_DATA01__USDHC2_DATA1     0x17059
200                         MX6UL_PAD_NAND_DATA02__USDHC2_DATA2     0x17059
201                         MX6UL_PAD_NAND_DATA03__USDHC2_DATA3     0x17059
202                         MX6UL_PAD_NAND_DATA04__USDHC2_DATA4     0x17059
203                         MX6UL_PAD_NAND_DATA05__USDHC2_DATA5     0x17059
204                         MX6UL_PAD_NAND_DATA06__USDHC2_DATA6     0x17059
205                         MX6UL_PAD_NAND_DATA07__USDHC2_DATA7     0x17059
206                 >;
207         };
208 
209         pinctrl_usdhc2_100mhz: usdhc2-100mhz-grp {
210                 fsl,pins = <
211                         MX6UL_PAD_NAND_RE_B__USDHC2_CLK         0x100b9
212                         MX6UL_PAD_NAND_WE_B__USDHC2_CMD         0x170b9
213                         MX6UL_PAD_NAND_DATA00__USDHC2_DATA0     0x170b9
214                         MX6UL_PAD_NAND_DATA01__USDHC2_DATA1     0x170b9
215                         MX6UL_PAD_NAND_DATA02__USDHC2_DATA2     0x170b9
216                         MX6UL_PAD_NAND_DATA03__USDHC2_DATA3     0x170b9
217                         MX6UL_PAD_NAND_DATA04__USDHC2_DATA4     0x170b9
218                         MX6UL_PAD_NAND_DATA05__USDHC2_DATA5     0x170b9
219                         MX6UL_PAD_NAND_DATA06__USDHC2_DATA6     0x170b9
220                         MX6UL_PAD_NAND_DATA07__USDHC2_DATA7     0x170b9
221                 >;
222         };
223 
224         pinctrl_usdhc2_200mhz: usdhc2-200mhz-grp {
225                 fsl,pins = <
226                         MX6UL_PAD_NAND_RE_B__USDHC2_CLK         0x100f9
227                         MX6UL_PAD_NAND_WE_B__USDHC2_CMD         0x170f9
228                         MX6UL_PAD_NAND_DATA00__USDHC2_DATA0     0x170f9
229                         MX6UL_PAD_NAND_DATA01__USDHC2_DATA1     0x170f9
230                         MX6UL_PAD_NAND_DATA02__USDHC2_DATA2     0x170f9
231                         MX6UL_PAD_NAND_DATA03__USDHC2_DATA3     0x170f9
232                         MX6UL_PAD_NAND_DATA04__USDHC2_DATA4     0x170f9
233                         MX6UL_PAD_NAND_DATA05__USDHC2_DATA5     0x170f9
234                         MX6UL_PAD_NAND_DATA06__USDHC2_DATA6     0x170f9
235                         MX6UL_PAD_NAND_DATA07__USDHC2_DATA7     0x170f9
236                 >;
237         };
238 };

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