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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/imx6ull-dhcom-drc02.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/nxp/imx/imx6ull-dhcom-drc02.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/nxp/imx/imx6ull-dhcom-drc02.dts (Architecture mips)


  1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-      1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (C) 2023 DH electronics GmbH           3  * Copyright (C) 2023 DH electronics GmbH
  4  *                                                  4  *
  5  * DHCOM iMX6ULL variant:                           5  * DHCOM iMX6ULL variant:
  6  * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-SD      6  * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-SD-RTC-ADC-I-01D2
  7  * DHCOR PCB number: 578-200 or newer               7  * DHCOR PCB number: 578-200 or newer
  8  * DHCOM PCB number: 579-200 or newer               8  * DHCOM PCB number: 579-200 or newer
  9  * DRC02 PCB number: 568-100 or newer (2nd eth      9  * DRC02 PCB number: 568-100 or newer (2nd ethernet by SoM)
 10  */                                                10  */
 11 /dts-v1/;                                          11 /dts-v1/;
 12                                                    12 
 13 #include "imx6ull-dhcom-som.dtsi"                  13 #include "imx6ull-dhcom-som.dtsi"
 14 #include "imx6ull-dhcom-som-cfg-sdcard.dtsi"       14 #include "imx6ull-dhcom-som-cfg-sdcard.dtsi"
 15                                                    15 
 16 / {                                                16 / {
 17         model = "DH electronics i.MX6ULL DHCOM     17         model = "DH electronics i.MX6ULL DHCOM on DRC02";
 18         compatible = "dh,imx6ull-dhcom-drc02",     18         compatible = "dh,imx6ull-dhcom-drc02", "dh,imx6ull-dhcom-som",
 19                      "dh,imx6ull-dhcor-som", "     19                      "dh,imx6ull-dhcor-som", "fsl,imx6ull";
 20 };                                                 20 };
 21                                                    21 
 22 /*                                                 22 /*
 23  * The signals for CAN2 TX and RX are routed t     23  * The signals for CAN2 TX and RX are routed to the DHCOM UART1 RTS/CTS pins.
 24  * Therefore the UART RTS/CTS must be output o     24  * Therefore the UART RTS/CTS must be output on other DHCOM pins, see uart1
 25  * node below.                                     25  * node below.
 26  */                                                26  */
 27 &can2 {                                            27 &can2 {
 28         status = "okay";                           28         status = "okay";
 29 };                                                 29 };
 30                                                    30 
 31 &gpio1 {                                           31 &gpio1 {
 32         gpio-line-names =                          32         gpio-line-names =
 33                 "", "", "", "",                    33                 "", "", "", "",
 34                 "", "", "", "",                    34                 "", "", "", "",
 35                 "", "", "", "DRC02-In2",           35                 "", "", "", "DRC02-In2",
 36                 "", "", "", "",                    36                 "", "", "", "",
 37                 "", "", "DHCOM-I", "",             37                 "", "", "DHCOM-I", "",
 38                 "", "", "", "",                    38                 "", "", "", "",
 39                 "", "", "", "",                    39                 "", "", "", "",
 40                 "", "", "", "";                    40                 "", "", "", "";
 41 };                                                 41 };
 42                                                    42 
 43 &gpio4 {                                           43 &gpio4 {
 44         gpio-line-names =                          44         gpio-line-names =
 45                 "", "", "", "",                    45                 "", "", "", "",
 46                 "", "", "", "",                    46                 "", "", "", "",
 47                 "", "", "", "",                    47                 "", "", "", "",
 48                 "", "", "", "",                    48                 "", "", "", "",
 49                 "", "DRC02-HW0", "DRC02-HW1",      49                 "", "DRC02-HW0", "DRC02-HW1", "DHCOM-M",
 50                 "DRC02-HW2", "DHCOM-U", "DHCOM     50                 "DRC02-HW2", "DHCOM-U", "DHCOM-T", "DHCOM-S",
 51                 "DHCOM-R", "DHCOM-Q", "DHCOM-P     51                 "DHCOM-R", "DHCOM-Q", "DHCOM-P", "DHCOM-O",
 52                 "DHCOM-N", "", "", "";             52                 "DHCOM-N", "", "", "";
 53         /*                                         53         /*
 54          * NOTE: On DRC02, the RS485_RX_En is      54          * NOTE: On DRC02, the RS485_RX_En is controlled by a separate
 55          * GPIO line, however the i.MX6ULL UAR     55          * GPIO line, however the i.MX6ULL UART driver assumes RX happens
 56          * during TX anyway and that it only c     56          * during TX anyway and that it only controls drive enable DE
 57          * line. Hence, the RX is always enabl     57          * line. Hence, the RX is always enabled here.
 58          */                                        58          */
 59         rs485-rx-en-hog {                          59         rs485-rx-en-hog {
 60                 gpio-hog;                          60                 gpio-hog;
 61                 gpios = <25 0>; /* GPIO Q */       61                 gpios = <25 0>; /* GPIO Q */
 62                 line-name = "rs485-rx-en";         62                 line-name = "rs485-rx-en";
 63                 output-low;                        63                 output-low;
 64         };                                         64         };
 65 };                                                 65 };
 66                                                    66 
 67 &gpio5 {                                           67 &gpio5 {
 68         gpio-line-names =                          68         gpio-line-names =
 69                 "DHCOM-A", "DHCOM-B", "DHCOM-C     69                 "DHCOM-A", "DHCOM-B", "DHCOM-C", "DRC02-Out2",
 70                 "DHCOM-E", "", "", "DRC02-Out1     70                 "DHCOM-E", "", "", "DRC02-Out1",
 71                 "DRC02-In1", "DHCOM-H", "", ""     71                 "DRC02-In1", "DHCOM-H", "", "",
 72                 "", "", "", "",                    72                 "", "", "", "",
 73                 "", "", "", "",                    73                 "", "", "", "",
 74                 "", "", "", "",                    74                 "", "", "", "",
 75                 "", "", "", "",                    75                 "", "", "", "",
 76                 "", "", "", "";                    76                 "", "", "", "";
 77 };                                                 77 };
 78                                                    78 
 79 /* DHCOM I2C2 */                                   79 /* DHCOM I2C2 */
 80 &i2c1 {                                            80 &i2c1 {
 81         eeprom@56 {                                81         eeprom@56 {
 82                 compatible = "atmel,24c04";        82                 compatible = "atmel,24c04";
 83                 reg = <0x56>;                      83                 reg = <0x56>;
 84                 pagesize = <16>;                   84                 pagesize = <16>;
 85         };                                         85         };
 86 };                                                 86 };
 87                                                    87 
 88 &uart1 {                                           88 &uart1 {
 89         /delete-property/ uart-has-rtscts;         89         /delete-property/ uart-has-rtscts;
 90         rts-gpios = <&gpio1 18 GPIO_ACTIVE_HIG     90         rts-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; /* GPIO I */
 91         cts-gpios = <&gpio4 19 GPIO_ACTIVE_HIG     91         cts-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; /* GPIO M */
 92 };                                                 92 };
 93                                                    93 
 94 /* Use UART as RS485 */                            94 /* Use UART as RS485 */
 95 &uart2 {                                           95 &uart2 {
 96         /delete-property/ uart-has-rtscts;         96         /delete-property/ uart-has-rtscts;
 97         linux,rs485-enabled-at-boot-time;          97         linux,rs485-enabled-at-boot-time;
 98         rts-gpios = <&gpio4 26 GPIO_ACTIVE_HIG     98         rts-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* GPIO P */
 99 };                                                 99 };
                                                      

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