Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: Split SoC-independent parts of DHCOM SOM and PDK2

The DH Electronics PDK2 can be populated with SoM with any STM32MP15xx
variant. Split the SoC-independent parts of the SoM and PDK2 into the
stm32mp15xx-dhcom-*.dtsi and reduce stm32mp157c-dhcom-*dts* to example
of adding STM32MP157C variant of the SoM into a PDK2 carrier board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Marek Vasut and committed by
Alexandre Torgue
604536dc 81d5fc71

+352 -338
+14 -334
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 2 2 /* 3 - * Copyright (C) 2019 Marek Vasut <marex@denx.de> 3 + * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 4 + * 5 + * DHCOM STM32MP1 variant: 6 + * DHCM-STM32MP157C-C065-R102-F0819-SPI-E2-CAN2-SDR104-RTC-WBT-T-DSI-I-01D2 7 + * DHCOR PCB number: 587-200 or newer 8 + * PDK2 PCB number: 516-400 or newer 4 9 */ 10 + /dts-v1/; 5 11 6 - #include "stm32mp157c-dhcom-som.dtsi" 7 - #include <dt-bindings/input/input.h> 8 - #include <dt-bindings/pwm/pwm.h> 12 + #include "stm32mp157.dtsi" 13 + #include "stm32mp15xc.dtsi" 14 + #include "stm32mp15xx-dhcom-som.dtsi" 15 + #include "stm32mp15xx-dhcom-pdk2.dtsi" 9 16 10 17 / { 11 - model = "STMicroelectronics STM32MP157C DHCOM Premium Developer Kit (2)"; 12 - compatible = "dh,stm32mp157c-dhcom-pdk2", "st,stm32mp157"; 13 - 14 - aliases { 15 - serial0 = &uart4; 16 - serial1 = &usart3; 17 - serial2 = &uart8; 18 - ethernet0 = &ethernet0; 19 - }; 20 - 21 - chosen { 22 - stdout-path = "serial0:115200n8"; 23 - }; 24 - 25 - clk_ext_audio_codec: clock-codec { 26 - compatible = "fixed-clock"; 27 - #clock-cells = <0>; 28 - clock-frequency = <24000000>; 29 - }; 30 - 31 - display_bl: display-bl { 32 - compatible = "pwm-backlight"; 33 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 34 - brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>; 35 - default-brightness-level = <8>; 36 - enable-gpios = <&gpioi 0 GPIO_ACTIVE_HIGH>; 37 - status = "okay"; 38 - }; 39 - 40 - ethernet_vio: vioregulator { 41 - compatible = "regulator-fixed"; 42 - regulator-name = "vio"; 43 - regulator-min-microvolt = <3300000>; 44 - regulator-max-microvolt = <3300000>; 45 - gpio = <&gpiog 3 GPIO_ACTIVE_LOW>; 46 - regulator-always-on; 47 - regulator-boot-on; 48 - }; 49 - 50 - gpio-keys-polled { 51 - compatible = "gpio-keys-polled"; 52 - #size-cells = <0>; 53 - poll-interval = <20>; 54 - 55 - /* 56 - * The EXTi IRQ line 3 is shared with touchscreen and ethernet, 57 - * so mark this as polled GPIO key. 58 - */ 59 - button-0 { 60 - label = "TA1-GPIO-A"; 61 - linux,code = <KEY_A>; 62 - gpios = <&gpiof 3 GPIO_ACTIVE_LOW>; 63 - }; 64 - }; 65 - 66 - gpio-keys { 67 - compatible = "gpio-keys"; 68 - #size-cells = <0>; 69 - 70 - button-1 { 71 - label = "TA2-GPIO-B"; 72 - linux,code = <KEY_B>; 73 - gpios = <&gpiod 6 GPIO_ACTIVE_LOW>; 74 - wakeup-source; 75 - }; 76 - 77 - button-2 { 78 - label = "TA3-GPIO-C"; 79 - linux,code = <KEY_C>; 80 - gpios = <&gpioi 11 GPIO_ACTIVE_LOW>; 81 - wakeup-source; 82 - }; 83 - 84 - button-3 { 85 - label = "TA4-GPIO-D"; 86 - linux,code = <KEY_D>; 87 - gpios = <&gpiod 12 GPIO_ACTIVE_LOW>; 88 - wakeup-source; 89 - }; 90 - }; 91 - 92 - led { 93 - compatible = "gpio-leds"; 94 - 95 - led-0 { 96 - label = "green:led5"; 97 - gpios = <&gpiog 2 GPIO_ACTIVE_HIGH>; 98 - default-state = "off"; 99 - }; 100 - 101 - led-1 { 102 - label = "green:led6"; 103 - gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; 104 - default-state = "off"; 105 - }; 106 - 107 - led-2 { 108 - label = "green:led7"; 109 - gpios = <&gpioi 2 GPIO_ACTIVE_HIGH>; 110 - default-state = "off"; 111 - }; 112 - 113 - led-3 { 114 - label = "green:led8"; 115 - gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>; 116 - default-state = "off"; 117 - }; 118 - }; 119 - 120 - panel { 121 - compatible = "edt,etm0700g0edh6"; 122 - backlight = <&display_bl>; 123 - 124 - port { 125 - lcd_panel_in: endpoint { 126 - remote-endpoint = <&lcd_display_out>; 127 - }; 128 - }; 129 - }; 130 - 131 - sound { 132 - compatible = "audio-graph-card"; 133 - routing = 134 - "MIC_IN", "Capture", 135 - "Capture", "Mic Bias", 136 - "Playback", "HP_OUT"; 137 - dais = <&sai2a_port &sai2b_port>; 138 - status = "okay"; 139 - }; 140 - }; 141 - 142 - &cec { 143 - pinctrl-names = "default"; 144 - pinctrl-0 = <&cec_pins_a>; 145 - status = "okay"; 146 - }; 147 - 148 - &ethernet0 { 149 - status = "okay"; 150 - pinctrl-0 = <&ethernet0_rmii_pins_a>; 151 - pinctrl-1 = <&ethernet0_rmii_sleep_pins_a>; 152 - pinctrl-names = "default", "sleep"; 153 - phy-mode = "rmii"; 154 - max-speed = <100>; 155 - phy-handle = <&phy0>; 156 - st,eth-ref-clk-sel; 157 - phy-reset-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>; 158 - 159 - mdio0 { 160 - #address-cells = <1>; 161 - #size-cells = <0>; 162 - compatible = "snps,dwmac-mdio"; 163 - 164 - phy0: ethernet-phy@1 { 165 - reg = <1>; 166 - }; 167 - }; 168 - }; 169 - 170 - &i2c2 { /* Header X22 */ 171 - pinctrl-names = "default"; 172 - pinctrl-0 = <&i2c2_pins_a>; 173 - i2c-scl-rising-time-ns = <185>; 174 - i2c-scl-falling-time-ns = <20>; 175 - status = "okay"; 176 - /* spare dmas for other usage */ 177 - /delete-property/dmas; 178 - /delete-property/dma-names; 179 - status = "okay"; 180 - }; 181 - 182 - &i2c5 { /* Header X21 */ 183 - pinctrl-names = "default"; 184 - pinctrl-0 = <&i2c5_pins_a>; 185 - i2c-scl-rising-time-ns = <185>; 186 - i2c-scl-falling-time-ns = <20>; 187 - status = "okay"; 188 - /* spare dmas for other usage */ 189 - /delete-property/dmas; 190 - /delete-property/dma-names; 191 - 192 - sgtl5000: codec@a { 193 - compatible = "fsl,sgtl5000"; 194 - reg = <0x0a>; 195 - #sound-dai-cells = <0>; 196 - clocks = <&clk_ext_audio_codec>; 197 - VDDA-supply = <&v3v3>; 198 - VDDIO-supply = <&vdd>; 199 - 200 - sgtl5000_port: port { 201 - #address-cells = <1>; 202 - #size-cells = <0>; 203 - 204 - sgtl5000_tx_endpoint: endpoint@0 { 205 - reg = <0>; 206 - remote-endpoint = <&sai2a_endpoint>; 207 - frame-master; 208 - bitclock-master; 209 - }; 210 - 211 - sgtl5000_rx_endpoint: endpoint@1 { 212 - reg = <1>; 213 - remote-endpoint = <&sai2b_endpoint>; 214 - frame-master; 215 - bitclock-master; 216 - }; 217 - }; 218 - 219 - }; 220 - 221 - polytouch@38 { 222 - compatible = "edt,edt-ft5x06"; 223 - reg = <0x38>; 224 - interrupt-parent = <&gpiog>; 225 - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */ 226 - linux,wakeup; 227 - }; 228 - }; 229 - 230 - &ltdc { 231 - pinctrl-names = "default", "sleep"; 232 - pinctrl-0 = <&ltdc_pins_b>; 233 - pinctrl-1 = <&ltdc_sleep_pins_b>; 234 - status = "okay"; 235 - 236 - port { 237 - lcd_display_out: endpoint { 238 - remote-endpoint = <&lcd_panel_in>; 239 - }; 240 - }; 18 + model = "DH Electronics STM32MP157C DHCOM Premium Developer Kit (2)"; 19 + compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som", 20 + "st,stm32mp157"; 241 21 }; 242 22 243 23 &m_can1 { ··· 25 245 pinctrl-0 = <&m_can1_pins_a>; 26 246 pinctrl-1 = <&m_can1_sleep_pins_a>; 27 247 status = "okay"; 28 - }; 29 - 30 - &sai2 { 31 - clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; 32 - clock-names = "pclk", "x8k", "x11k"; 33 - pinctrl-names = "default", "sleep"; 34 - pinctrl-0 = <&sai2a_pins_b &sai2b_pins_b>; 35 - pinctrl-1 = <&sai2a_sleep_pins_b &sai2b_sleep_pins_b>; 36 - status = "okay"; 37 - 38 - sai2a: audio-controller@4400b004 { 39 - #clock-cells = <0>; 40 - dma-names = "tx"; 41 - clocks = <&rcc SAI2_K>; 42 - clock-names = "sai_ck"; 43 - status = "okay"; 44 - 45 - sai2a_port: port { 46 - sai2a_endpoint: endpoint { 47 - remote-endpoint = <&sgtl5000_tx_endpoint>; 48 - format = "i2s"; 49 - mclk-fs = <512>; 50 - dai-tdm-slot-num = <2>; 51 - dai-tdm-slot-width = <16>; 52 - }; 53 - }; 54 - }; 55 - 56 - sai2b: audio-controller@4400b024 { 57 - dma-names = "rx"; 58 - st,sync = <&sai2a 2>; 59 - clocks = <&rcc SAI2_K>, <&sai2a>; 60 - clock-names = "sai_ck", "MCLK"; 61 - status = "okay"; 62 - 63 - sai2b_port: port { 64 - sai2b_endpoint: endpoint { 65 - remote-endpoint = <&sgtl5000_rx_endpoint>; 66 - format = "i2s"; 67 - mclk-fs = <512>; 68 - dai-tdm-slot-num = <2>; 69 - dai-tdm-slot-width = <16>; 70 - }; 71 - }; 72 - }; 73 - }; 74 - 75 - &timers2 { 76 - /* spare dmas for other usage (un-delete to enable pwm capture) */ 77 - /delete-property/dmas; 78 - /delete-property/dma-names; 79 - status = "okay"; 80 - pwm2: pwm { 81 - pinctrl-0 = <&pwm2_pins_a>; 82 - pinctrl-names = "default"; 83 - status = "okay"; 84 - }; 85 - timer@1 { 86 - status = "okay"; 87 - }; 88 - }; 89 - 90 - &usart3 { 91 - pinctrl-names = "default"; 92 - pinctrl-0 = <&usart3_pins_a>; 93 - status = "okay"; 94 - }; 95 - 96 - &uart8 { 97 - pinctrl-names = "default"; 98 - pinctrl-0 = <&uart8_pins_a>; 99 - status = "okay"; 100 - }; 101 - 102 - &usbh_ehci { 103 - phys = <&usbphyc_port0>; 104 - status = "okay"; 105 - }; 106 - 107 - &usbotg_hs { 108 - dr_mode = "peripheral"; 109 - phys = <&usbphyc_port1 0>; 110 - phy-names = "usb2-phy"; 111 - status = "okay"; 112 - }; 113 - 114 - &usbphyc { 115 - status = "okay"; 116 - }; 117 - 118 - &usbphyc_port0 { 119 - phy-supply = <&vdd_usb>; 120 - vdda1v1-supply = <&reg11>; 121 - vdda1v8-supply = <&reg18>; 122 - }; 123 - 124 - &usbphyc_port1 { 125 - phy-supply = <&vdd_usb>; 126 - vdda1v1-supply = <&reg11>; 127 - vdda1v8-supply = <&reg18>; 128 248 };
+1 -4
arch/arm/boot/dts/stm32mp157c-dhcom-som.dtsi arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi
··· 1 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 2 /* 3 - * Copyright (C) 2019 Marek Vasut <marex@denx.de> 3 + * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 4 4 */ 5 - /dts-v1/; 6 5 7 - #include "stm32mp157.dtsi" 8 - #include "stm32mp15xc.dtsi" 9 6 #include "stm32mp15-pinctrl.dtsi" 10 7 #include "stm32mp15xxaa-pinctrl.dtsi" 11 8 #include <dt-bindings/gpio/gpio.h>
+337
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 2 + /* 3 + * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 4 + */ 5 + 6 + #include <dt-bindings/input/input.h> 7 + #include <dt-bindings/pwm/pwm.h> 8 + 9 + / { 10 + aliases { 11 + serial0 = &uart4; 12 + serial1 = &usart3; 13 + serial2 = &uart8; 14 + ethernet0 = &ethernet0; 15 + }; 16 + 17 + chosen { 18 + stdout-path = "serial0:115200n8"; 19 + }; 20 + 21 + clk_ext_audio_codec: clock-codec { 22 + compatible = "fixed-clock"; 23 + #clock-cells = <0>; 24 + clock-frequency = <24000000>; 25 + }; 26 + 27 + display_bl: display-bl { 28 + compatible = "pwm-backlight"; 29 + pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 30 + brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>; 31 + default-brightness-level = <8>; 32 + enable-gpios = <&gpioi 0 GPIO_ACTIVE_HIGH>; 33 + status = "okay"; 34 + }; 35 + 36 + ethernet_vio: vioregulator { 37 + compatible = "regulator-fixed"; 38 + regulator-name = "vio"; 39 + regulator-min-microvolt = <3300000>; 40 + regulator-max-microvolt = <3300000>; 41 + gpio = <&gpiog 3 GPIO_ACTIVE_LOW>; 42 + regulator-always-on; 43 + regulator-boot-on; 44 + }; 45 + 46 + gpio-keys-polled { 47 + compatible = "gpio-keys-polled"; 48 + #size-cells = <0>; 49 + poll-interval = <20>; 50 + 51 + /* 52 + * The EXTi IRQ line 3 is shared with touchscreen and ethernet, 53 + * so mark this as polled GPIO key. 54 + */ 55 + button-0 { 56 + label = "TA1-GPIO-A"; 57 + linux,code = <KEY_A>; 58 + gpios = <&gpiof 3 GPIO_ACTIVE_LOW>; 59 + }; 60 + }; 61 + 62 + gpio-keys { 63 + compatible = "gpio-keys"; 64 + #size-cells = <0>; 65 + 66 + button-1 { 67 + label = "TA2-GPIO-B"; 68 + linux,code = <KEY_B>; 69 + gpios = <&gpiod 6 GPIO_ACTIVE_LOW>; 70 + wakeup-source; 71 + }; 72 + 73 + button-2 { 74 + label = "TA3-GPIO-C"; 75 + linux,code = <KEY_C>; 76 + gpios = <&gpioi 11 GPIO_ACTIVE_LOW>; 77 + wakeup-source; 78 + }; 79 + 80 + button-3 { 81 + label = "TA4-GPIO-D"; 82 + linux,code = <KEY_D>; 83 + gpios = <&gpiod 12 GPIO_ACTIVE_LOW>; 84 + wakeup-source; 85 + }; 86 + }; 87 + 88 + led { 89 + compatible = "gpio-leds"; 90 + 91 + led-0 { 92 + label = "green:led5"; 93 + gpios = <&gpiog 2 GPIO_ACTIVE_HIGH>; 94 + default-state = "off"; 95 + }; 96 + 97 + led-1 { 98 + label = "green:led6"; 99 + gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; 100 + default-state = "off"; 101 + }; 102 + 103 + led-2 { 104 + label = "green:led7"; 105 + gpios = <&gpioi 2 GPIO_ACTIVE_HIGH>; 106 + default-state = "off"; 107 + }; 108 + 109 + led-3 { 110 + label = "green:led8"; 111 + gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>; 112 + default-state = "off"; 113 + }; 114 + }; 115 + 116 + panel { 117 + compatible = "edt,etm0700g0edh6"; 118 + backlight = <&display_bl>; 119 + 120 + port { 121 + lcd_panel_in: endpoint { 122 + remote-endpoint = <&lcd_display_out>; 123 + }; 124 + }; 125 + }; 126 + 127 + sound { 128 + compatible = "audio-graph-card"; 129 + routing = 130 + "MIC_IN", "Capture", 131 + "Capture", "Mic Bias", 132 + "Playback", "HP_OUT"; 133 + dais = <&sai2a_port &sai2b_port>; 134 + status = "okay"; 135 + }; 136 + }; 137 + 138 + &cec { 139 + pinctrl-names = "default"; 140 + pinctrl-0 = <&cec_pins_a>; 141 + status = "okay"; 142 + }; 143 + 144 + &ethernet0 { 145 + status = "okay"; 146 + pinctrl-0 = <&ethernet0_rmii_pins_a>; 147 + pinctrl-1 = <&ethernet0_rmii_sleep_pins_a>; 148 + pinctrl-names = "default", "sleep"; 149 + phy-mode = "rmii"; 150 + max-speed = <100>; 151 + phy-handle = <&phy0>; 152 + st,eth-ref-clk-sel; 153 + phy-reset-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>; 154 + 155 + mdio0 { 156 + #address-cells = <1>; 157 + #size-cells = <0>; 158 + compatible = "snps,dwmac-mdio"; 159 + 160 + phy0: ethernet-phy@1 { 161 + reg = <1>; 162 + }; 163 + }; 164 + }; 165 + 166 + &i2c2 { /* Header X22 */ 167 + pinctrl-names = "default"; 168 + pinctrl-0 = <&i2c2_pins_a>; 169 + i2c-scl-rising-time-ns = <185>; 170 + i2c-scl-falling-time-ns = <20>; 171 + status = "okay"; 172 + /* spare dmas for other usage */ 173 + /delete-property/dmas; 174 + /delete-property/dma-names; 175 + status = "okay"; 176 + }; 177 + 178 + &i2c5 { /* Header X21 */ 179 + pinctrl-names = "default"; 180 + pinctrl-0 = <&i2c5_pins_a>; 181 + i2c-scl-rising-time-ns = <185>; 182 + i2c-scl-falling-time-ns = <20>; 183 + status = "okay"; 184 + /* spare dmas for other usage */ 185 + /delete-property/dmas; 186 + /delete-property/dma-names; 187 + 188 + sgtl5000: codec@a { 189 + compatible = "fsl,sgtl5000"; 190 + reg = <0x0a>; 191 + #sound-dai-cells = <0>; 192 + clocks = <&clk_ext_audio_codec>; 193 + VDDA-supply = <&v3v3>; 194 + VDDIO-supply = <&vdd>; 195 + 196 + sgtl5000_port: port { 197 + #address-cells = <1>; 198 + #size-cells = <0>; 199 + 200 + sgtl5000_tx_endpoint: endpoint@0 { 201 + reg = <0>; 202 + remote-endpoint = <&sai2a_endpoint>; 203 + frame-master; 204 + bitclock-master; 205 + }; 206 + 207 + sgtl5000_rx_endpoint: endpoint@1 { 208 + reg = <1>; 209 + remote-endpoint = <&sai2b_endpoint>; 210 + frame-master; 211 + bitclock-master; 212 + }; 213 + }; 214 + 215 + }; 216 + 217 + polytouch@38 { 218 + compatible = "edt,edt-ft5x06"; 219 + reg = <0x38>; 220 + interrupt-parent = <&gpiog>; 221 + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO E */ 222 + linux,wakeup; 223 + }; 224 + }; 225 + 226 + &ltdc { 227 + pinctrl-names = "default", "sleep"; 228 + pinctrl-0 = <&ltdc_pins_b>; 229 + pinctrl-1 = <&ltdc_sleep_pins_b>; 230 + status = "okay"; 231 + 232 + port { 233 + lcd_display_out: endpoint { 234 + remote-endpoint = <&lcd_panel_in>; 235 + }; 236 + }; 237 + }; 238 + 239 + &sai2 { 240 + clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>; 241 + clock-names = "pclk", "x8k", "x11k"; 242 + pinctrl-names = "default", "sleep"; 243 + pinctrl-0 = <&sai2a_pins_b &sai2b_pins_b>; 244 + pinctrl-1 = <&sai2a_sleep_pins_b &sai2b_sleep_pins_b>; 245 + status = "okay"; 246 + 247 + sai2a: audio-controller@4400b004 { 248 + #clock-cells = <0>; 249 + dma-names = "tx"; 250 + clocks = <&rcc SAI2_K>; 251 + clock-names = "sai_ck"; 252 + status = "okay"; 253 + 254 + sai2a_port: port { 255 + sai2a_endpoint: endpoint { 256 + remote-endpoint = <&sgtl5000_tx_endpoint>; 257 + format = "i2s"; 258 + mclk-fs = <512>; 259 + dai-tdm-slot-num = <2>; 260 + dai-tdm-slot-width = <16>; 261 + }; 262 + }; 263 + }; 264 + 265 + sai2b: audio-controller@4400b024 { 266 + dma-names = "rx"; 267 + st,sync = <&sai2a 2>; 268 + clocks = <&rcc SAI2_K>, <&sai2a>; 269 + clock-names = "sai_ck", "MCLK"; 270 + status = "okay"; 271 + 272 + sai2b_port: port { 273 + sai2b_endpoint: endpoint { 274 + remote-endpoint = <&sgtl5000_rx_endpoint>; 275 + format = "i2s"; 276 + mclk-fs = <512>; 277 + dai-tdm-slot-num = <2>; 278 + dai-tdm-slot-width = <16>; 279 + }; 280 + }; 281 + }; 282 + }; 283 + 284 + &timers2 { 285 + /* spare dmas for other usage (un-delete to enable pwm capture) */ 286 + /delete-property/dmas; 287 + /delete-property/dma-names; 288 + status = "okay"; 289 + pwm2: pwm { 290 + pinctrl-0 = <&pwm2_pins_a>; 291 + pinctrl-names = "default"; 292 + status = "okay"; 293 + }; 294 + timer@1 { 295 + status = "okay"; 296 + }; 297 + }; 298 + 299 + &usart3 { 300 + pinctrl-names = "default"; 301 + pinctrl-0 = <&usart3_pins_a>; 302 + status = "okay"; 303 + }; 304 + 305 + &uart8 { 306 + pinctrl-names = "default"; 307 + pinctrl-0 = <&uart8_pins_a>; 308 + status = "okay"; 309 + }; 310 + 311 + &usbh_ehci { 312 + phys = <&usbphyc_port0>; 313 + status = "okay"; 314 + }; 315 + 316 + &usbotg_hs { 317 + dr_mode = "peripheral"; 318 + phys = <&usbphyc_port1 0>; 319 + phy-names = "usb2-phy"; 320 + status = "okay"; 321 + }; 322 + 323 + &usbphyc { 324 + status = "okay"; 325 + }; 326 + 327 + &usbphyc_port0 { 328 + phy-supply = <&vdd_usb>; 329 + vdda1v1-supply = <&reg11>; 330 + vdda1v8-supply = <&reg18>; 331 + }; 332 + 333 + &usbphyc_port1 { 334 + phy-supply = <&vdd_usb>; 335 + vdda1v1-supply = <&reg11>; 336 + vdda1v8-supply = <&reg18>; 337 + };