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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/st/stm32mp15xx-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/st/stm32mp15xx-dhcom-drc02.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm/st/stm32mp15xx-dhcom-drc02.dtsi (Version linux-6.10.14)


  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) 2020 Marek Vasut <marex@denx.d      3  * Copyright (C) 2020 Marek Vasut <marex@denx.de>
  4  */                                                 4  */
  5                                                     5 
  6 #include <dt-bindings/input/input.h>                6 #include <dt-bindings/input/input.h>
  7 #include <dt-bindings/pwm/pwm.h>                    7 #include <dt-bindings/pwm/pwm.h>
  8                                                     8 
  9 / {                                                 9 / {
 10         aliases {                                  10         aliases {
 11                 serial0 = &uart4;                  11                 serial0 = &uart4;
 12                 serial1 = &usart3;                 12                 serial1 = &usart3;
 13                 serial2 = &uart8;                  13                 serial2 = &uart8;
 14         };                                         14         };
 15                                                    15 
 16         chosen {                                   16         chosen {
 17                 stdout-path = "serial0:115200n     17                 stdout-path = "serial0:115200n8";
 18         };                                         18         };
 19 };                                                 19 };
 20                                                    20 
 21 &adc {                                             21 &adc {
 22         status = "disabled";                       22         status = "disabled";
 23 };                                                 23 };
 24                                                    24 
 25 &dac {                                             25 &dac {
 26         status = "disabled";                       26         status = "disabled";
 27 };                                                 27 };
 28                                                    28 
 29 &gpiob {                                           29 &gpiob {
 30         /*                                         30         /*
 31          * NOTE: On DRC02, the RS485_RX_En is      31          * NOTE: On DRC02, the RS485_RX_En is controlled by a separate
 32          * GPIO line, however the STM32 UART d     32          * GPIO line, however the STM32 UART driver assumes RX happens
 33          * during TX anyway and that it only c     33          * during TX anyway and that it only controls drive enable DE
 34          * line. Hence, the RX is always enabl     34          * line. Hence, the RX is always enabled here.
 35          */                                        35          */
 36         rs485-rx-en-hog {                          36         rs485-rx-en-hog {
 37                 gpio-hog;                          37                 gpio-hog;
 38                 gpios = <8 0>;                     38                 gpios = <8 0>;
 39                 output-low;                        39                 output-low;
 40                 line-name = "rs485-rx-en";         40                 line-name = "rs485-rx-en";
 41         };                                         41         };
 42 };                                                 42 };
 43                                                    43 
 44 &gpiod {                                           44 &gpiod {
 45         gpio-line-names = "", "", "", "",          45         gpio-line-names = "", "", "", "",
 46                           "", "", "DHCOM-B", "     46                           "", "", "DHCOM-B", "",
 47                           "", "", "", "DRC02-O     47                           "", "", "", "DRC02-Out1",
 48                           "DRC02-Out2", "", ""     48                           "DRC02-Out2", "", "", "";
 49 };                                                 49 };
 50                                                    50 
 51 &gpioi {                                           51 &gpioi {
 52         gpio-line-names = "DRC02-In1", "DHCOM-     52         gpio-line-names = "DRC02-In1", "DHCOM-O", "DHCOM-H", "DHCOM-I",
 53                           "DHCOM-R", "DHCOM-M"     53                           "DHCOM-R", "DHCOM-M", "", "",
 54                           "DRC02-In2", "", "",     54                           "DRC02-In2", "", "", "",
 55                           "", "", "", "";          55                           "", "", "", "";
 56                                                    56 
 57         /*                                         57         /*
 58          * NOTE: The USB Hub on the DRC02 need     58          * NOTE: The USB Hub on the DRC02 needs a reset signal to be
 59          * pulled high in order to be detected     59          * pulled high in order to be detected by the USB Controller.
 60          * This signal should be handled by US     60          * This signal should be handled by USB power sequencing in
 61          * order to reset the Hub when USB bus     61          * order to reset the Hub when USB bus is powered down, but
 62          * so far there is no such functionali     62          * so far there is no such functionality.
 63          */                                        63          */
 64         usb-hub-hog {                              64         usb-hub-hog {
 65                 gpio-hog;                          65                 gpio-hog;
 66                 gpios = <2 0>;                     66                 gpios = <2 0>;
 67                 output-high;                       67                 output-high;
 68                 line-name = "usb-hub-reset";       68                 line-name = "usb-hub-reset";
 69         };                                         69         };
 70 };                                                 70 };
 71                                                    71 
 72 &i2c2 {                                            72 &i2c2 {
 73         pinctrl-names = "default";                 73         pinctrl-names = "default";
 74         pinctrl-0 = <&i2c2_pins_a>;                74         pinctrl-0 = <&i2c2_pins_a>;
 75         i2c-scl-rising-time-ns = <185>;            75         i2c-scl-rising-time-ns = <185>;
 76         i2c-scl-falling-time-ns = <20>;            76         i2c-scl-falling-time-ns = <20>;
 77         status = "okay";                           77         status = "okay";
 78         /* spare dmas for other usage */           78         /* spare dmas for other usage */
 79         /delete-property/dmas;                     79         /delete-property/dmas;
 80         /delete-property/dma-names;                80         /delete-property/dma-names;
 81         status = "okay";                           81         status = "okay";
 82                                                    82 
 83         eeprom@50 {                                83         eeprom@50 {
 84                 compatible = "atmel,24c04";        84                 compatible = "atmel,24c04";
 85                 reg = <0x50>;                      85                 reg = <0x50>;
 86                 pagesize = <16>;                   86                 pagesize = <16>;
 87         };                                         87         };
 88 };                                                 88 };
 89                                                    89 
 90 &i2c4 {                                            90 &i2c4 {
 91         touchscreen@49 {                           91         touchscreen@49 {
 92                 status = "disabled";               92                 status = "disabled";
 93         };                                         93         };
 94 };                                                 94 };
 95                                                    95 
 96 &i2c5 { /* TP7/TP8 */                              96 &i2c5 { /* TP7/TP8 */
 97         pinctrl-names = "default";                 97         pinctrl-names = "default";
 98         pinctrl-0 = <&i2c5_pins_a>;                98         pinctrl-0 = <&i2c5_pins_a>;
 99         i2c-scl-rising-time-ns = <185>;            99         i2c-scl-rising-time-ns = <185>;
100         i2c-scl-falling-time-ns = <20>;           100         i2c-scl-falling-time-ns = <20>;
101         status = "okay";                          101         status = "okay";
102         /* spare dmas for other usage */          102         /* spare dmas for other usage */
103         /delete-property/dmas;                    103         /delete-property/dmas;
104         /delete-property/dma-names;               104         /delete-property/dma-names;
105 };                                                105 };
106                                                   106 
107 &sdmmc3 {                                         107 &sdmmc3 {
108         /*                                        108         /*
109          * On DRC02, the SoM does not have SDI    109          * On DRC02, the SoM does not have SDIO WiFi. The pins
110          * are used for on-board microSD slot     110          * are used for on-board microSD slot instead.
111          */                                       111          */
112         /delete-property/broken-cd;               112         /delete-property/broken-cd;
113         cd-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH    113         cd-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH>;
114         disable-wp;                               114         disable-wp;
115 };                                                115 };
116                                                   116 
117 &spi1 {                                           117 &spi1 {
118         pinctrl-names = "default";                118         pinctrl-names = "default";
119         pinctrl-0 = <&spi1_pins_a>;               119         pinctrl-0 = <&spi1_pins_a>;
120         cs-gpios = <&gpioz 3 0>;                  120         cs-gpios = <&gpioz 3 0>;
121         /* Use PIO for the display */             121         /* Use PIO for the display */
122         /delete-property/dmas;                    122         /delete-property/dmas;
123         /delete-property/dma-names;               123         /delete-property/dma-names;
124         status = "disabled";    /* Enable once    124         status = "disabled";    /* Enable once there is display driver */
125         /*                                        125         /*
126          * Note: PF3/GPIO_A , PD6/GPIO_B , PG0    126          * Note: PF3/GPIO_A , PD6/GPIO_B , PG0/GPIO_C , PC6/GPIO_E are
127          * also connected to the display board    127          * also connected to the display board connector.
128          */                                       128          */
129 };                                                129 };
130                                                   130 
131 &usart3 {                                         131 &usart3 {
132         pinctrl-names = "default";                132         pinctrl-names = "default";
133         pinctrl-0 = <&usart3_pins_a>;             133         pinctrl-0 = <&usart3_pins_a>;
134         /delete-property/dmas;                    134         /delete-property/dmas;
135         /delete-property/dma-names;               135         /delete-property/dma-names;
136         status = "okay";                          136         status = "okay";
137 };                                                137 };
138                                                   138 
139 /*                                                139 /*
140  * Note: PI3 is UART1_RTS and PI5 is UART1_CTS    140  * Note: PI3 is UART1_RTS and PI5 is UART1_CTS on DRC02 (uart4 of STM32MP1),
141  *       however the STM32MP1 pinmux cannot ma    141  *       however the STM32MP1 pinmux cannot map them to UART4 .
142  */                                               142  */
143                                                   143 
144 &uart8 {        /* RS485 */                       144 &uart8 {        /* RS485 */
145         linux,rs485-enabled-at-boot-time;         145         linux,rs485-enabled-at-boot-time;
146         pinctrl-names = "default";                146         pinctrl-names = "default";
147         pinctrl-0 = <&uart8_pins_a>;              147         pinctrl-0 = <&uart8_pins_a>;
148         rts-gpios = <&gpioe 6 GPIO_ACTIVE_HIGH    148         rts-gpios = <&gpioe 6 GPIO_ACTIVE_HIGH>;
149         /delete-property/dmas;                    149         /delete-property/dmas;
150         /delete-property/dma-names;               150         /delete-property/dma-names;
151         status = "okay";                          151         status = "okay";
152 };                                                152 };
153                                                   153 
154 &usbh_ehci {                                      154 &usbh_ehci {
155         status = "okay";                          155         status = "okay";
156 };                                                156 };
157                                                   157 
158 &usbphyc {                                        158 &usbphyc {
159         status = "okay";                          159         status = "okay";
160 };                                                160 };
161                                                   161 
162 &usbphyc_port0 {                                  162 &usbphyc_port0 {
163         phy-supply = <&vdd_usb>;                  163         phy-supply = <&vdd_usb>;
164 };                                                164 };
165                                                   165 
166 &usbphyc_port1 {                                  166 &usbphyc_port1 {
167         phy-supply = <&vdd_usb>;                  167         phy-supply = <&vdd_usb>;
168 };                                                168 };
                                                      

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