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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/imx6qdl-dhcom-drc02.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/arm/nxp/imx/imx6qdl-dhcom-drc02.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/nxp/imx/imx6qdl-dhcom-drc02.dtsi (Architecture m68k)


  1 // SPDX-License-Identifier: GPL-2.0+                1 // SPDX-License-Identifier: GPL-2.0+
  2 /*                                                  2 /*
  3  * Copyright (C) 2021 DH electronics GmbH           3  * Copyright (C) 2021 DH electronics GmbH
  4  */                                                 4  */
  5                                                     5 
  6 / {                                                 6 / {
  7         chosen {                                    7         chosen {
  8                 stdout-path = "serial0:115200n      8                 stdout-path = "serial0:115200n8";
  9         };                                          9         };
 10 };                                                 10 };
 11                                                    11 
 12 /*                                                 12 /*
 13  * Special SoM hardware required which uses th     13  * Special SoM hardware required which uses the pins from micro SD card. The
 14  * pins SD3_DAT0 and SD3_DAT1 are muxed as can     14  * pins SD3_DAT0 and SD3_DAT1 are muxed as can2 Tx and Rx. The signals for can2
 15  * Tx and Rx are routed to the DHCOM UART1 rts     15  * Tx and Rx are routed to the DHCOM UART1 rts/cts pins. Therefore the micro SD
 16  * card must be disabled and the uart1 rts/cts     16  * card must be disabled and the uart1 rts/cts must be output on other DHCOM
 17  * pins, see uart1 and usdhc3 node below.          17  * pins, see uart1 and usdhc3 node below.
 18  */                                                18  */
 19 &can2 {                                            19 &can2 {
 20         status = "okay";                           20         status = "okay";
 21 };                                                 21 };
 22                                                    22 
 23 &gpio1 {                                           23 &gpio1 {
 24         /*                                         24         /*
 25          * NOTE: On DRC02, the RS485_RX_En is      25          * NOTE: On DRC02, the RS485_RX_En is controlled by a separate
 26          * GPIO line, however the i.MX6 UART d     26          * GPIO line, however the i.MX6 UART driver assumes RX happens
 27          * during TX anyway and that it only c     27          * during TX anyway and that it only controls drive enable DE
 28          * line. Hence, the RX is always enabl     28          * line. Hence, the RX is always enabled here.
 29          */                                        29          */
 30         rs485-rx-en-hog {                          30         rs485-rx-en-hog {
 31                 gpio-hog;                          31                 gpio-hog;
 32                 gpios = <18 0>; /* GPIO Q */       32                 gpios = <18 0>; /* GPIO Q */
 33                 line-name = "rs485-rx-en";         33                 line-name = "rs485-rx-en";
 34                 output-low;                        34                 output-low;
 35         };                                         35         };
 36 };                                                 36 };
 37                                                    37 
 38 &gpio3 {                                           38 &gpio3 {
 39         gpio-line-names =                          39         gpio-line-names =
 40                 "", "", "", "", "", "", "", ""     40                 "", "", "", "", "", "", "", "",
 41                 "", "", "", "", "", "", "", ""     41                 "", "", "", "", "", "", "", "",
 42                 "", "", "", "", "", "", "", ""     42                 "", "", "", "", "", "", "", "",
 43                 "", "", "", "DRC02-In1", "", "     43                 "", "", "", "DRC02-In1", "", "", "", "";
 44 };                                                 44 };
 45                                                    45 
 46 &gpio4 {                                           46 &gpio4 {
 47         gpio-line-names =                          47         gpio-line-names =
 48                 "", "", "", "", "", "DHCOM-E",     48                 "", "", "", "", "", "DHCOM-E", "DRC02-In2", "DHCOM-H",
 49                 "DHCOM-I", "DRC02-HW0", "", ""     49                 "DHCOM-I", "DRC02-HW0", "", "", "", "", "", "",
 50                 "", "", "", "", "DRC02-Out1",      50                 "", "", "", "", "DRC02-Out1", "", "", "",
 51                 "", "", "", "", "", "", "", ""     51                 "", "", "", "", "", "", "", "";
 52 };                                                 52 };
 53                                                    53 
 54 &gpio6 {                                           54 &gpio6 {
 55         gpio-line-names =                          55         gpio-line-names =
 56                 "", "", "", "DRC02-Out2", "",      56                 "", "", "", "DRC02-Out2", "", "", "SOM-HW1", "",
 57                 "", "", "", "", "", "", "DRC02     57                 "", "", "", "", "", "", "DRC02-HW2", "DRC02-HW1",
 58                 "", "", "", "", "", "", "", ""     58                 "", "", "", "", "", "", "", "",
 59                 "", "", "", "", "", "", "", ""     59                 "", "", "", "", "", "", "", "";
 60 };                                                 60 };
 61                                                    61 
 62 &i2c1 {                                            62 &i2c1 {
 63         eeprom@50 {                                63         eeprom@50 {
 64                 compatible = "atmel,24c04";        64                 compatible = "atmel,24c04";
 65                 reg = <0x50>;                      65                 reg = <0x50>;
 66                 pagesize = <16>;                   66                 pagesize = <16>;
 67         };                                         67         };
 68 };                                                 68 };
 69                                                    69 
 70 &uart1 {                                           70 &uart1 {
 71         /*                                         71         /*
 72          * Due to the use of can2 the signals      72          * Due to the use of can2 the signals for can2 Tx and Rx are routed to
 73          * DHCOM UART1 rts/cts pins. Therefore     73          * DHCOM UART1 rts/cts pins. Therefore this UART have to use DHCOM GPIOs
 74          * for rts/cts. So configure DHCOM GPI     74          * for rts/cts. So configure DHCOM GPIO I as rts and GPIO M as cts.
 75          */                                        75          */
 76         /delete-property/ uart-has-rtscts;         76         /delete-property/ uart-has-rtscts;
 77         cts-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH     77         cts-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; /* GPIO M */
 78         pinctrl-0 = <&pinctrl_uart1 &pinctrl_d     78         pinctrl-0 = <&pinctrl_uart1 &pinctrl_dhcom_i &pinctrl_dhcom_m>;
 79         pinctrl-names = "default";                 79         pinctrl-names = "default";
 80         rts-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH     80         rts-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* GPIO I */
 81 };                                                 81 };
 82                                                    82 
 83 &uart5 {                                           83 &uart5 {
 84         /*                                         84         /*
 85          * On DRC02 this UART is used as RS485     85          * On DRC02 this UART is used as RS485 interface and RS485_TX_En is
 86          * controlled by DHCOM GPIO P. So remo     86          * controlled by DHCOM GPIO P. So remove rts/cts pins and the property
 87          * uart-has-rtscts from this UART and      87          * uart-has-rtscts from this UART and add the DHCOM GPIO P pin via
 88          * rts-gpios. The RS485_RX_En is contr     88          * rts-gpios. The RS485_RX_En is controlled by DHCOM GPIO Q, see gpio1
 89          * node above.                             89          * node above.
 90          */                                        90          */
 91         /delete-property/ uart-has-rtscts;         91         /delete-property/ uart-has-rtscts;
 92         linux,rs485-enabled-at-boot-time;          92         linux,rs485-enabled-at-boot-time;
 93         pinctrl-0 = <&pinctrl_uart5_core &pinc     93         pinctrl-0 = <&pinctrl_uart5_core &pinctrl_dhcom_p &pinctrl_dhcom_q>;
 94         pinctrl-names = "default";                 94         pinctrl-names = "default";
 95         rts-gpios = <&gpio7 13 GPIO_ACTIVE_HIG     95         rts-gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; /* GPIO P */
 96 };                                                 96 };
 97                                                    97 
 98 &usbh1 {                                           98 &usbh1 {
 99         disable-over-current;                      99         disable-over-current;
100 };                                                100 };
101                                                   101 
102 &usdhc2 { /* SD card */                           102 &usdhc2 { /* SD card */
103         status = "okay";                          103         status = "okay";
104 };                                                104 };
105                                                   105 
106 &usdhc3 {                                         106 &usdhc3 {
107         /*                                        107         /*
108          * Due to the use of can2 the micro SD    108          * Due to the use of can2 the micro SD card on module have to be
109          * disabled, because the pins SD3_DAT0    109          * disabled, because the pins SD3_DAT0 and SD3_DAT1 are muxed as
110          * can2 Tx and Rx.                        110          * can2 Tx and Rx.
111          */                                       111          */
112         status = "disabled";                      112         status = "disabled";
113 };                                                113 };
114                                                   114 
115 &iomuxc {                                         115 &iomuxc {
116         pinctrl-0 = <                             116         pinctrl-0 = <
117                         /*                        117                         /*
118                          * The following DHCOM    118                          * The following DHCOM GPIOs are used on this board.
119                          * Therefore, they hav    119                          * Therefore, they have been removed from the list below.
120                          * I: uart1 rts           120                          * I: uart1 rts
121                          * M: uart1 cts           121                          * M: uart1 cts
122                          * P: uart5 rs485-tx-e    122                          * P: uart5 rs485-tx-en
123                          * Q: uart5 rs485-rx-e    123                          * Q: uart5 rs485-rx-en
124                          */                       124                          */
125                         &pinctrl_hog_base         125                         &pinctrl_hog_base
126                         &pinctrl_dhcom_a &pinc    126                         &pinctrl_dhcom_a &pinctrl_dhcom_b &pinctrl_dhcom_c
127                         &pinctrl_dhcom_d &pinc    127                         &pinctrl_dhcom_d &pinctrl_dhcom_e &pinctrl_dhcom_f
128                         &pinctrl_dhcom_g &pinc    128                         &pinctrl_dhcom_g &pinctrl_dhcom_h
129                         &pinctrl_dhcom_j &pinc    129                         &pinctrl_dhcom_j &pinctrl_dhcom_k &pinctrl_dhcom_l
130                         &pinctrl_dhcom_n &pinc    130                         &pinctrl_dhcom_n &pinctrl_dhcom_o
131                         &pinctrl_dhcom_r          131                         &pinctrl_dhcom_r
132                         &pinctrl_dhcom_s &pinc    132                         &pinctrl_dhcom_s &pinctrl_dhcom_t &pinctrl_dhcom_u
133                         &pinctrl_dhcom_v &pinc    133                         &pinctrl_dhcom_v &pinctrl_dhcom_w &pinctrl_dhcom_int
134                 >;                                134                 >;
135         pinctrl-names = "default";                135         pinctrl-names = "default";
136                                                   136 
137         pinctrl_uart5_core: uart5-core-grp {      137         pinctrl_uart5_core: uart5-core-grp {
138                 fsl,pins = <                      138                 fsl,pins = <
139                         MX6QDL_PAD_CSI0_DAT14_    139                         MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA    0x1b0b1
140                         MX6QDL_PAD_CSI0_DAT15_    140                         MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA    0x1b0b1
141                 >;                                141                 >;
142         };                                        142         };
143 };                                                143 };
                                                      

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