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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw71xx.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw71xx.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw71xx.dtsi (Architecture alpha)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright 2023 Gateworks Corporation             3  * Copyright 2023 Gateworks Corporation
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/gpio/gpio.h>                  6 #include <dt-bindings/gpio/gpio.h>
  7 #include <dt-bindings/leds/common.h>                7 #include <dt-bindings/leds/common.h>
  8 #include <dt-bindings/phy/phy-imx8-pcie.h>          8 #include <dt-bindings/phy/phy-imx8-pcie.h>
  9                                                     9 
 10 / {                                                10 / {
 11         connector {                                11         connector {
 12                 compatible = "gpio-usb-b-conne     12                 compatible = "gpio-usb-b-connector", "usb-b-connector";
 13                 pinctrl-names = "default";         13                 pinctrl-names = "default";
 14                 pinctrl-0 = <&pinctrl_usbcon1>     14                 pinctrl-0 = <&pinctrl_usbcon1>;
 15                 type = "micro";                    15                 type = "micro";
 16                 label = "Type-C";                  16                 label = "Type-C";
 17                 id-gpios = <&gpio3 21 GPIO_ACT     17                 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
 18                                                    18 
 19                 port {                             19                 port {
 20                         usb_dr_connector: endp     20                         usb_dr_connector: endpoint {
 21                                 remote-endpoin     21                                 remote-endpoint = <&usb3_dwc>;
 22                         };                         22                         };
 23                 };                                 23                 };
 24         };                                         24         };
 25                                                    25 
 26         led-controller {                           26         led-controller {
 27                 compatible = "gpio-leds";          27                 compatible = "gpio-leds";
 28                 pinctrl-names = "default";         28                 pinctrl-names = "default";
 29                 pinctrl-0 = <&pinctrl_gpio_led     29                 pinctrl-0 = <&pinctrl_gpio_leds>;
 30                                                    30 
 31                 led-0 {                            31                 led-0 {
 32                         function = LED_FUNCTIO     32                         function = LED_FUNCTION_STATUS;
 33                         color = <LED_COLOR_ID_     33                         color = <LED_COLOR_ID_GREEN>;
 34                         gpios = <&gpio4 1 GPIO     34                         gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
 35                         default-state = "on";      35                         default-state = "on";
 36                         linux,default-trigger      36                         linux,default-trigger = "heartbeat";
 37                 };                                 37                 };
 38                                                    38 
 39                 led-1 {                            39                 led-1 {
 40                         function = LED_FUNCTIO     40                         function = LED_FUNCTION_STATUS;
 41                         color = <LED_COLOR_ID_     41                         color = <LED_COLOR_ID_RED>;
 42                         gpios = <&gpio4 5 GPIO     42                         gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
 43                         default-state = "off";     43                         default-state = "off";
 44                 };                                 44                 };
 45         };                                         45         };
 46                                                    46 
 47         pcie0_refclk: clock-pcie0 {                47         pcie0_refclk: clock-pcie0 {
 48                 compatible = "fixed-clock";        48                 compatible = "fixed-clock";
 49                 #clock-cells = <0>;                49                 #clock-cells = <0>;
 50                 clock-frequency = <100000000>;     50                 clock-frequency = <100000000>;
 51         };                                         51         };
 52                                                    52 
 53         pps {                                      53         pps {
 54                 compatible = "pps-gpio";           54                 compatible = "pps-gpio";
 55                 pinctrl-names = "default";         55                 pinctrl-names = "default";
 56                 pinctrl-0 = <&pinctrl_pps>;        56                 pinctrl-0 = <&pinctrl_pps>;
 57                 gpios = <&gpio4 3 GPIO_ACTIVE_     57                 gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
 58                 status = "okay";                   58                 status = "okay";
 59         };                                         59         };
 60 };                                                 60 };
 61                                                    61 
 62 /* off-board header */                             62 /* off-board header */
 63 &ecspi2 {                                          63 &ecspi2 {
 64         pinctrl-names = "default";                 64         pinctrl-names = "default";
 65         pinctrl-0 = <&pinctrl_spi2>;               65         pinctrl-0 = <&pinctrl_spi2>;
 66         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>     66         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>,
 67                    <&gpio1 10 GPIO_ACTIVE_LOW>     67                    <&gpio1 10 GPIO_ACTIVE_LOW>;
 68         status = "okay";                           68         status = "okay";
 69                                                    69 
 70         tpm@1 {                                    70         tpm@1 {
 71                 compatible = "atmel,attpm20p",     71                 compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
 72                 reg = <0x1>;                       72                 reg = <0x1>;
 73                 spi-max-frequency = <36000000>     73                 spi-max-frequency = <36000000>;
 74         };                                         74         };
 75 };                                                 75 };
 76                                                    76 
 77 &gpio4 {                                           77 &gpio4 {
 78         gpio-line-names =                          78         gpio-line-names =
 79                 "", "", "", "",                    79                 "", "", "", "",
 80                 "", "", "", "",                    80                 "", "", "", "",
 81                 "dio1", "", "", "dio0",            81                 "dio1", "", "", "dio0",
 82                 "", "", "pci_usb_sel", "",         82                 "", "", "pci_usb_sel", "",
 83                 "", "", "", "",                    83                 "", "", "", "",
 84                 "", "", "", "",                    84                 "", "", "", "",
 85                 "dio3", "", "dio2", "",            85                 "dio3", "", "dio2", "",
 86                 "pci_wdis#", "", "", "";           86                 "pci_wdis#", "", "", "";
 87 };                                                 87 };
 88                                                    88 
 89 &i2c2 {                                            89 &i2c2 {
 90         clock-frequency = <400000>;                90         clock-frequency = <400000>;
 91         pinctrl-names = "default";                 91         pinctrl-names = "default";
 92         pinctrl-0 = <&pinctrl_i2c2>;               92         pinctrl-0 = <&pinctrl_i2c2>;
 93         status = "okay";                           93         status = "okay";
 94                                                    94 
 95         accelerometer@19 {                         95         accelerometer@19 {
 96                 compatible = "st,lis2de12";        96                 compatible = "st,lis2de12";
 97                 reg = <0x19>;                      97                 reg = <0x19>;
 98                 pinctrl-names = "default";         98                 pinctrl-names = "default";
 99                 pinctrl-0 = <&pinctrl_accel>;      99                 pinctrl-0 = <&pinctrl_accel>;
100                 st,drdy-int-pin = <1>;            100                 st,drdy-int-pin = <1>;
101                 interrupt-parent = <&gpio4>;      101                 interrupt-parent = <&gpio4>;
102                 interrupts = <21 IRQ_TYPE_LEVE    102                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
103         };                                        103         };
104 };                                                104 };
105                                                   105 
106 &pcie_phy {                                       106 &pcie_phy {
107         fsl,refclk-pad-mode = <IMX8_PCIE_REFCL    107         fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
108         fsl,clkreq-unsupported;                   108         fsl,clkreq-unsupported;
109         clocks = <&pcie0_refclk>;                 109         clocks = <&pcie0_refclk>;
110         clock-names = "ref";                      110         clock-names = "ref";
111         status = "okay";                          111         status = "okay";
112 };                                                112 };
113                                                   113 
114 &pcie {                                           114 &pcie {
115         pinctrl-names = "default";                115         pinctrl-names = "default";
116         pinctrl-0 = <&pinctrl_pcie0>;             116         pinctrl-0 = <&pinctrl_pcie0>;
117         reset-gpio = <&gpio4 29 GPIO_ACTIVE_LO    117         reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>;
118         status = "okay";                          118         status = "okay";
119 };                                                119 };
120                                                   120 
121 /* GPS */                                         121 /* GPS */
122 &uart1 {                                          122 &uart1 {
123         pinctrl-names = "default";                123         pinctrl-names = "default";
124         pinctrl-0 = <&pinctrl_uart1>;             124         pinctrl-0 = <&pinctrl_uart1>;
125         status = "okay";                          125         status = "okay";
126 };                                                126 };
127                                                   127 
128 /* off-board header */                            128 /* off-board header */
129 &uart3 {                                          129 &uart3 {
130         pinctrl-names = "default";                130         pinctrl-names = "default";
131         pinctrl-0 = <&pinctrl_uart3>;             131         pinctrl-0 = <&pinctrl_uart3>;
132         status = "okay";                          132         status = "okay";
133 };                                                133 };
134                                                   134 
135 /* USB1 Type-C front panel */                     135 /* USB1 Type-C front panel */
136 &usb3_0 {                                         136 &usb3_0 {
137         pinctrl-names = "default";                137         pinctrl-names = "default";
138         pinctrl-0 = <&pinctrl_usb1>;              138         pinctrl-0 = <&pinctrl_usb1>;
139         fsl,over-current-active-low;              139         fsl,over-current-active-low;
140         status = "okay";                          140         status = "okay";
141 };                                                141 };
142                                                   142 
143 &usb3_phy0 {                                      143 &usb3_phy0 {
144         status = "okay";                          144         status = "okay";
145 };                                                145 };
146                                                   146 
147 &usb_dwc3_0 {                                     147 &usb_dwc3_0 {
148         /* dual role is implemented but not a     148         /* dual role is implemented but not a full featured OTG */
149         adp-disable;                              149         adp-disable;
150         hnp-disable;                              150         hnp-disable;
151         srp-disable;                              151         srp-disable;
152         dr_mode = "otg";                          152         dr_mode = "otg";
153         usb-role-switch;                          153         usb-role-switch;
154         role-switch-default-mode = "peripheral    154         role-switch-default-mode = "peripheral";
155         status = "okay";                          155         status = "okay";
156                                                   156 
157         port {                                    157         port {
158                 usb3_dwc: endpoint {              158                 usb3_dwc: endpoint {
159                         remote-endpoint = <&us    159                         remote-endpoint = <&usb_dr_connector>;
160                 };                                160                 };
161         };                                        161         };
162 };                                                162 };
163                                                   163 
164 /* USB2 - MiniPCIe socket */                      164 /* USB2 - MiniPCIe socket */
165 &usb3_1 {                                         165 &usb3_1 {
166         fsl,permanently-attached;                 166         fsl,permanently-attached;
167         fsl,disable-port-power-control;           167         fsl,disable-port-power-control;
168         status = "okay";                          168         status = "okay";
169 };                                                169 };
170                                                   170 
171 &usb3_phy1 {                                      171 &usb3_phy1 {
172         status = "okay";                          172         status = "okay";
173 };                                                173 };
174                                                   174 
175 &usb_dwc3_1 {                                     175 &usb_dwc3_1 {
176         dr_mode = "host";                         176         dr_mode = "host";
177         status = "okay";                          177         status = "okay";
178 };                                                178 };
179                                                   179 
180 &iomuxc {                                         180 &iomuxc {
181         pinctrl-names = "default";                181         pinctrl-names = "default";
182         pinctrl-0 = <&pinctrl_hog>;               182         pinctrl-0 = <&pinctrl_hog>;
183                                                   183 
184         pinctrl_hog: hoggrp {                     184         pinctrl_hog: hoggrp {
185                 fsl,pins = <                      185                 fsl,pins = <
186                         MX8MP_IOMUXC_SAI1_RXD6    186                         MX8MP_IOMUXC_SAI1_RXD6__GPIO4_IO08      0x40000146 /* DIO1 */
187                         MX8MP_IOMUXC_SAI1_TXC_    187                         MX8MP_IOMUXC_SAI1_TXC__GPIO4_IO11       0x40000146 /* DIO0 */
188                         MX8MP_IOMUXC_SAI1_TXD2    188                         MX8MP_IOMUXC_SAI1_TXD2__GPIO4_IO14      0x40000106 /* PCIE_USBSEL */
189                         MX8MP_IOMUXC_SAI2_TXD0    189                         MX8MP_IOMUXC_SAI2_TXD0__GPIO4_IO26      0x40000146 /* DIO2 */
190                         MX8MP_IOMUXC_SAI2_TXFS    190                         MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24      0x40000146 /* DIO3 */
191                         MX8MP_IOMUXC_SAI3_RXFS    191                         MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28      0x40000106 /* PCIE_WDIS# */
192                 >;                                192                 >;
193         };                                        193         };
194                                                   194 
195         pinctrl_accel: accelgrp {                 195         pinctrl_accel: accelgrp {
196                 fsl,pins = <                      196                 fsl,pins = <
197                         MX8MP_IOMUXC_SAI2_RXFS    197                         MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21      0x150   /* IRQ */
198                 >;                                198                 >;
199         };                                        199         };
200                                                   200 
201         pinctrl_gpio_leds: gpioledgrp {           201         pinctrl_gpio_leds: gpioledgrp {
202                 fsl,pins = <                      202                 fsl,pins = <
203                         MX8MP_IOMUXC_SAI1_RXC_    203                         MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01       0x6     /* LEDG */
204                         MX8MP_IOMUXC_SAI1_RXD3    204                         MX8MP_IOMUXC_SAI1_RXD3__GPIO4_IO05      0x6     /* LEDR */
205                 >;                                205                 >;
206         };                                        206         };
207                                                   207 
208         pinctrl_pcie0: pcie0grp {                 208         pinctrl_pcie0: pcie0grp {
209                 fsl,pins = <                      209                 fsl,pins = <
210                         MX8MP_IOMUXC_SAI3_RXC_    210                         MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29       0x106
211                 >;                                211                 >;
212         };                                        212         };
213                                                   213 
214         pinctrl_pps: ppsgrp {                     214         pinctrl_pps: ppsgrp {
215                 fsl,pins = <                      215                 fsl,pins = <
216                         MX8MP_IOMUXC_SAI1_RXD1    216                         MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03      0x146
217                 >;                                217                 >;
218         };                                        218         };
219                                                   219 
220         pinctrl_usb1: usb1grp {                   220         pinctrl_usb1: usb1grp {
221                 fsl,pins = <                      221                 fsl,pins = <
222                         MX8MP_IOMUXC_GPIO1_IO1    222                         MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC    0x140 /* USB1_FLT# */
223                 >;                                223                 >;
224         };                                        224         };
225                                                   225 
226         pinctrl_usbcon1: usbcon1grp {             226         pinctrl_usbcon1: usbcon1grp {
227                 fsl,pins = <                      227                 fsl,pins = <
228                         MX8MP_IOMUXC_SAI5_RXD0    228                         MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21      0x140 /* USB1_ID */
229                 >;                                229                 >;
230         };                                        230         };
231                                                   231 
232         pinctrl_spi2: spi2grp {                   232         pinctrl_spi2: spi2grp {
233                 fsl,pins = <                      233                 fsl,pins = <
234                         MX8MP_IOMUXC_ECSPI2_SC    234                         MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK   0x140
235                         MX8MP_IOMUXC_ECSPI2_MO    235                         MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI   0x140
236                         MX8MP_IOMUXC_ECSPI2_MI    236                         MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO   0x140
237                         MX8MP_IOMUXC_ECSPI2_SS    237                         MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13     0x140
238                         MX8MP_IOMUXC_GPIO1_IO1    238                         MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10     0x140
239                 >;                                239                 >;
240         };                                        240         };
241                                                   241 
242         pinctrl_uart1: uart1grp {                 242         pinctrl_uart1: uart1grp {
243                 fsl,pins = <                      243                 fsl,pins = <
244                         MX8MP_IOMUXC_UART1_RXD    244                         MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX    0x140
245                         MX8MP_IOMUXC_UART1_TXD    245                         MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX    0x140
246                 >;                                246                 >;
247         };                                        247         };
248                                                   248 
249         pinctrl_uart3: uart3grp {                 249         pinctrl_uart3: uart3grp {
250                 fsl,pins = <                      250                 fsl,pins = <
251                         MX8MP_IOMUXC_UART3_RXD    251                         MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX    0x140
252                         MX8MP_IOMUXC_UART3_TXD    252                         MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX    0x140
253                 >;                                253                 >;
254         };                                        254         };
255 };                                                255 };
                                                      

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