1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 4724ba675SRob Herring * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 5724ba675SRob Herring */ 6724ba675SRob Herring 7724ba675SRob Herring/dts-v1/; 8724ba675SRob Herring 9724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 10724ba675SRob Herring#include <dt-bindings/input/input.h> 11724ba675SRob Herring#include <dt-bindings/leds/common.h> 124c757f6bSEtienne Carriere#include <dt-bindings/regulator/st,stm32mp13-regulator.h> 13724ba675SRob Herring#include "stm32mp135.dtsi" 14724ba675SRob Herring#include "stm32mp13xf.dtsi" 15724ba675SRob Herring#include "stm32mp13-pinctrl.dtsi" 16724ba675SRob Herring 17724ba675SRob Herring/ { 18724ba675SRob Herring model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19724ba675SRob Herring compatible = "st,stm32mp135f-dk", "st,stm32mp135"; 20724ba675SRob Herring 21724ba675SRob Herring aliases { 22*e9442f1fSChristophe Roullier ethernet0 = ðernet1; 23724ba675SRob Herring serial0 = &uart4; 24724ba675SRob Herring serial1 = &usart1; 25724ba675SRob Herring serial2 = &uart8; 26724ba675SRob Herring serial3 = &usart2; 27724ba675SRob Herring }; 28724ba675SRob Herring 29724ba675SRob Herring chosen { 30724ba675SRob Herring stdout-path = "serial0:115200n8"; 31724ba675SRob Herring }; 32724ba675SRob Herring 3326c7b370SAlain Volmat clocks { 3426c7b370SAlain Volmat clk_ext_camera: clk-ext-camera { 3526c7b370SAlain Volmat #clock-cells = <0>; 3626c7b370SAlain Volmat compatible = "fixed-clock"; 3726c7b370SAlain Volmat clock-frequency = <24000000>; 3826c7b370SAlain Volmat }; 3926c7b370SAlain Volmat 4026c7b370SAlain Volmat clk_mco1: clk-mco1 { 4126c7b370SAlain Volmat #clock-cells = <0>; 4226c7b370SAlain Volmat compatible = "fixed-clock"; 4326c7b370SAlain Volmat clock-frequency = <24000000>; 4426c7b370SAlain Volmat }; 4526c7b370SAlain Volmat }; 4626c7b370SAlain Volmat 47724ba675SRob Herring memory@c0000000 { 48724ba675SRob Herring device_type = "memory"; 49724ba675SRob Herring reg = <0xc0000000 0x20000000>; 50724ba675SRob Herring }; 51724ba675SRob Herring 52724ba675SRob Herring reserved-memory { 53724ba675SRob Herring #address-cells = <1>; 54724ba675SRob Herring #size-cells = <1>; 55724ba675SRob Herring ranges; 56724ba675SRob Herring 57724ba675SRob Herring optee@dd000000 { 58724ba675SRob Herring reg = <0xdd000000 0x3000000>; 59724ba675SRob Herring no-map; 60724ba675SRob Herring }; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring gpio-keys { 64724ba675SRob Herring compatible = "gpio-keys"; 65724ba675SRob Herring 66724ba675SRob Herring button-user { 67724ba675SRob Herring label = "User-PA13"; 68724ba675SRob Herring linux,code = <BTN_1>; 69724ba675SRob Herring gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 70724ba675SRob Herring }; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring leds { 74724ba675SRob Herring compatible = "gpio-leds"; 75724ba675SRob Herring 76724ba675SRob Herring led-blue { 77724ba675SRob Herring function = LED_FUNCTION_HEARTBEAT; 78724ba675SRob Herring color = <LED_COLOR_ID_BLUE>; 79724ba675SRob Herring gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; 80724ba675SRob Herring linux,default-trigger = "heartbeat"; 81724ba675SRob Herring default-state = "off"; 82724ba675SRob Herring }; 83724ba675SRob Herring }; 84da5216c6SRaphael Gallais-Pou 85da5216c6SRaphael Gallais-Pou panel_backlight: panel-backlight { 86da5216c6SRaphael Gallais-Pou compatible = "gpio-backlight"; 87da5216c6SRaphael Gallais-Pou gpios = <&gpioe 12 GPIO_ACTIVE_HIGH>; 88da5216c6SRaphael Gallais-Pou default-on; 89da5216c6SRaphael Gallais-Pou status = "okay"; 90da5216c6SRaphael Gallais-Pou }; 91da5216c6SRaphael Gallais-Pou 92da5216c6SRaphael Gallais-Pou panel_rgb: panel-rgb { 93da5216c6SRaphael Gallais-Pou compatible = "rocktech,rk043fn48h"; 94da5216c6SRaphael Gallais-Pou enable-gpios = <&gpioi 7 GPIO_ACTIVE_HIGH>; 95da5216c6SRaphael Gallais-Pou backlight = <&panel_backlight>; 96da5216c6SRaphael Gallais-Pou power-supply = <&scmi_v3v3_sw>; 97da5216c6SRaphael Gallais-Pou status = "okay"; 98da5216c6SRaphael Gallais-Pou 99da5216c6SRaphael Gallais-Pou width-mm = <105>; 100da5216c6SRaphael Gallais-Pou height-mm = <67>; 101da5216c6SRaphael Gallais-Pou 102da5216c6SRaphael Gallais-Pou panel-timing { 103da5216c6SRaphael Gallais-Pou clock-frequency = <10000000>; 104da5216c6SRaphael Gallais-Pou hactive = <480>; 105da5216c6SRaphael Gallais-Pou hback-porch = <43>; 106da5216c6SRaphael Gallais-Pou hfront-porch = <10>; 107da5216c6SRaphael Gallais-Pou hsync-len = <1>; 108da5216c6SRaphael Gallais-Pou hsync-active = <0>; 109da5216c6SRaphael Gallais-Pou vactive = <272>; 110da5216c6SRaphael Gallais-Pou vback-porch = <26>; 111da5216c6SRaphael Gallais-Pou vfront-porch = <4>; 112da5216c6SRaphael Gallais-Pou vsync-len = <10>; 113da5216c6SRaphael Gallais-Pou vsync-active = <0>; 114da5216c6SRaphael Gallais-Pou de-active = <1>; 115da5216c6SRaphael Gallais-Pou pixelclk-active = <1>; 116da5216c6SRaphael Gallais-Pou }; 117da5216c6SRaphael Gallais-Pou 118da5216c6SRaphael Gallais-Pou port { 119da5216c6SRaphael Gallais-Pou panel_in_rgb: endpoint { 120da5216c6SRaphael Gallais-Pou remote-endpoint = <<dc_out_rgb>; 121da5216c6SRaphael Gallais-Pou }; 122da5216c6SRaphael Gallais-Pou }; 123da5216c6SRaphael Gallais-Pou }; 124724ba675SRob Herring}; 125724ba675SRob Herring 126724ba675SRob Herring&adc_1 { 127724ba675SRob Herring pinctrl-names = "default"; 128724ba675SRob Herring pinctrl-0 = <&adc1_usb_cc_pins_a>; 1294c757f6bSEtienne Carriere vdda-supply = <&scmi_vdd_adc>; 1304c757f6bSEtienne Carriere vref-supply = <&scmi_vdd_adc>; 131724ba675SRob Herring status = "okay"; 132724ba675SRob Herring adc1: adc@0 { 133724ba675SRob Herring status = "okay"; 134724ba675SRob Herring /* 135724ba675SRob Herring * Type-C USB_PWR_CC1 & USB_PWR_CC2 on in6 & in12. 136724ba675SRob Herring * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C: 137724ba675SRob Herring * 5 * (5.1 + 47kOhms) * 5pF => 1.3us. 138724ba675SRob Herring * Use arbitrary margin here (e.g. 5us). 139724ba675SRob Herring */ 140724ba675SRob Herring channel@6 { 141724ba675SRob Herring reg = <6>; 142724ba675SRob Herring st,min-sample-time-ns = <5000>; 143724ba675SRob Herring }; 144724ba675SRob Herring channel@12 { 145724ba675SRob Herring reg = <12>; 146724ba675SRob Herring st,min-sample-time-ns = <5000>; 147724ba675SRob Herring }; 148724ba675SRob Herring }; 149724ba675SRob Herring}; 150724ba675SRob Herring 151d4e12273SLionel Debieve&crc1 { 152d4e12273SLionel Debieve status = "okay"; 153d4e12273SLionel Debieve}; 154d4e12273SLionel Debieve 15545734a13SThomas Bourgoin&cryp { 15645734a13SThomas Bourgoin status = "okay"; 15745734a13SThomas Bourgoin}; 15845734a13SThomas Bourgoin 15926c7b370SAlain Volmat&dcmipp { 16026c7b370SAlain Volmat pinctrl-names = "default", "sleep"; 16126c7b370SAlain Volmat pinctrl-0 = <&dcmipp_pins_a>; 16226c7b370SAlain Volmat pinctrl-1 = <&dcmipp_sleep_pins_a>; 16326c7b370SAlain Volmat status = "okay"; 16426c7b370SAlain Volmat 16526c7b370SAlain Volmat port { 16626c7b370SAlain Volmat dcmipp_0: endpoint { 16726c7b370SAlain Volmat remote-endpoint = <&mipid02_2>; 16826c7b370SAlain Volmat bus-width = <8>; 16926c7b370SAlain Volmat hsync-active = <0>; 17026c7b370SAlain Volmat vsync-active = <0>; 17126c7b370SAlain Volmat pclk-sample = <0>; 17226c7b370SAlain Volmat }; 17326c7b370SAlain Volmat }; 17426c7b370SAlain Volmat}; 17526c7b370SAlain Volmat 176*e9442f1fSChristophe Roullierðernet1 { 177*e9442f1fSChristophe Roullier status = "okay"; 178*e9442f1fSChristophe Roullier pinctrl-0 = <ð1_rmii_pins_a>; 179*e9442f1fSChristophe Roullier pinctrl-1 = <ð1_rmii_sleep_pins_a>; 180*e9442f1fSChristophe Roullier pinctrl-names = "default", "sleep"; 181*e9442f1fSChristophe Roullier phy-mode = "rmii"; 182*e9442f1fSChristophe Roullier phy-handle = <&phy0_eth1>; 183*e9442f1fSChristophe Roullier 184*e9442f1fSChristophe Roullier mdio { 185*e9442f1fSChristophe Roullier #address-cells = <1>; 186*e9442f1fSChristophe Roullier #size-cells = <0>; 187*e9442f1fSChristophe Roullier compatible = "snps,dwmac-mdio"; 188*e9442f1fSChristophe Roullier 189*e9442f1fSChristophe Roullier phy0_eth1: ethernet-phy@0 { 190*e9442f1fSChristophe Roullier compatible = "ethernet-phy-id0007.c131"; 191*e9442f1fSChristophe Roullier reg = <0>; 192*e9442f1fSChristophe Roullier reset-gpios = <&mcp23017 9 GPIO_ACTIVE_LOW>; 193*e9442f1fSChristophe Roullier wakeup-source; 194*e9442f1fSChristophe Roullier }; 195*e9442f1fSChristophe Roullier }; 196*e9442f1fSChristophe Roullier}; 197*e9442f1fSChristophe Roullier 198724ba675SRob Herring&i2c1 { 199724ba675SRob Herring pinctrl-names = "default", "sleep"; 200724ba675SRob Herring pinctrl-0 = <&i2c1_pins_a>; 201724ba675SRob Herring pinctrl-1 = <&i2c1_sleep_pins_a>; 202724ba675SRob Herring i2c-scl-rising-time-ns = <96>; 203724ba675SRob Herring i2c-scl-falling-time-ns = <3>; 204724ba675SRob Herring clock-frequency = <1000000>; 205724ba675SRob Herring status = "okay"; 206724ba675SRob Herring /* spare dmas for other usage */ 207724ba675SRob Herring /delete-property/dmas; 208724ba675SRob Herring /delete-property/dma-names; 209724ba675SRob Herring 210724ba675SRob Herring mcp23017: pinctrl@21 { 211724ba675SRob Herring compatible = "microchip,mcp23017"; 212724ba675SRob Herring reg = <0x21>; 213724ba675SRob Herring gpio-controller; 214724ba675SRob Herring #gpio-cells = <2>; 215724ba675SRob Herring interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 216724ba675SRob Herring interrupt-parent = <&gpiog>; 217724ba675SRob Herring pinctrl-names = "default"; 218724ba675SRob Herring pinctrl-0 = <&mcp23017_pins_a>; 219724ba675SRob Herring interrupt-controller; 220724ba675SRob Herring #interrupt-cells = <2>; 221724ba675SRob Herring microchip,irq-mirror; 222724ba675SRob Herring }; 223724ba675SRob Herring 224724ba675SRob Herring typec@53 { 225724ba675SRob Herring compatible = "st,stm32g0-typec"; 226724ba675SRob Herring reg = <0x53>; 227724ba675SRob Herring /* Alert pin on PI2 */ 228724ba675SRob Herring interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 229724ba675SRob Herring interrupt-parent = <&gpioi>; 230724ba675SRob Herring /* Internal pull-up on PI2 */ 231724ba675SRob Herring pinctrl-names = "default"; 232724ba675SRob Herring pinctrl-0 = <&stm32g0_intn_pins_a>; 233724ba675SRob Herring firmware-name = "stm32g0-ucsi.mp135f-dk.fw"; 234724ba675SRob Herring connector { 235724ba675SRob Herring compatible = "usb-c-connector"; 236724ba675SRob Herring label = "USB-C"; 237724ba675SRob Herring 238724ba675SRob Herring port { 239724ba675SRob Herring con_usb_c_g0_ep: endpoint { 240724ba675SRob Herring remote-endpoint = <&usbotg_hs_ep>; 241724ba675SRob Herring }; 242724ba675SRob Herring }; 243724ba675SRob Herring }; 244724ba675SRob Herring }; 245724ba675SRob Herring}; 246724ba675SRob Herring 247724ba675SRob Herring&i2c5 { 248724ba675SRob Herring pinctrl-names = "default", "sleep"; 249724ba675SRob Herring pinctrl-0 = <&i2c5_pins_a>; 250724ba675SRob Herring pinctrl-1 = <&i2c5_sleep_pins_a>; 251724ba675SRob Herring i2c-scl-rising-time-ns = <170>; 252724ba675SRob Herring i2c-scl-falling-time-ns = <5>; 253724ba675SRob Herring clock-frequency = <400000>; 254724ba675SRob Herring status = "okay"; 255724ba675SRob Herring /* spare dmas for other usage */ 256724ba675SRob Herring /delete-property/dmas; 257724ba675SRob Herring /delete-property/dma-names; 25826c7b370SAlain Volmat 25926c7b370SAlain Volmat stmipi: csi2rx@14 { 26026c7b370SAlain Volmat compatible = "st,st-mipid02"; 26126c7b370SAlain Volmat reg = <0x14>; 26226c7b370SAlain Volmat clocks = <&clk_mco1>; 26326c7b370SAlain Volmat clock-names = "xclk"; 26426c7b370SAlain Volmat VDDE-supply = <&scmi_v1v8_periph>; 26526c7b370SAlain Volmat VDDIN-supply = <&scmi_v1v8_periph>; 26626c7b370SAlain Volmat reset-gpios = <&mcp23017 2 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; 26726c7b370SAlain Volmat status = "okay"; 26826c7b370SAlain Volmat 26926c7b370SAlain Volmat ports { 27026c7b370SAlain Volmat #address-cells = <1>; 27126c7b370SAlain Volmat #size-cells = <0>; 27226c7b370SAlain Volmat port@0 { 27326c7b370SAlain Volmat reg = <0>; 27426c7b370SAlain Volmat 27526c7b370SAlain Volmat mipid02_0: endpoint { 27626c7b370SAlain Volmat data-lanes = <1 2>; 27726c7b370SAlain Volmat lane-polarities = <0 0 0>; 27826c7b370SAlain Volmat remote-endpoint = <&gc2145_ep>; 27926c7b370SAlain Volmat }; 28026c7b370SAlain Volmat }; 28126c7b370SAlain Volmat port@2 { 28226c7b370SAlain Volmat reg = <2>; 28326c7b370SAlain Volmat 28426c7b370SAlain Volmat mipid02_2: endpoint { 28526c7b370SAlain Volmat bus-width = <8>; 28626c7b370SAlain Volmat hsync-active = <0>; 28726c7b370SAlain Volmat vsync-active = <0>; 28826c7b370SAlain Volmat pclk-sample = <0>; 28926c7b370SAlain Volmat remote-endpoint = <&dcmipp_0>; 29026c7b370SAlain Volmat }; 29126c7b370SAlain Volmat }; 29226c7b370SAlain Volmat }; 29326c7b370SAlain Volmat }; 29426c7b370SAlain Volmat 29526c7b370SAlain Volmat gc2145: camera@3c { 29626c7b370SAlain Volmat compatible = "galaxycore,gc2145"; 29726c7b370SAlain Volmat reg = <0x3c>; 29826c7b370SAlain Volmat clocks = <&clk_ext_camera>; 29926c7b370SAlain Volmat iovdd-supply = <&scmi_v3v3_sw>; 30026c7b370SAlain Volmat avdd-supply = <&scmi_v3v3_sw>; 30126c7b370SAlain Volmat dvdd-supply = <&scmi_v3v3_sw>; 30226c7b370SAlain Volmat powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; 30326c7b370SAlain Volmat reset-gpios = <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; 30426c7b370SAlain Volmat status = "okay"; 30526c7b370SAlain Volmat 30626c7b370SAlain Volmat port { 30726c7b370SAlain Volmat gc2145_ep: endpoint { 30826c7b370SAlain Volmat remote-endpoint = <&mipid02_0>; 30926c7b370SAlain Volmat data-lanes = <1 2>; 31026c7b370SAlain Volmat link-frequencies = /bits/ 64 <120000000 192000000 240000000>; 31126c7b370SAlain Volmat }; 31226c7b370SAlain Volmat }; 31326c7b370SAlain Volmat }; 3143d058df9SYannick Fertre 3153d058df9SYannick Fertre goodix: goodix-ts@5d { 3163d058df9SYannick Fertre compatible = "goodix,gt911"; 3173d058df9SYannick Fertre reg = <0x5d>; 3183d058df9SYannick Fertre pinctrl-names = "default"; 3193d058df9SYannick Fertre pinctrl-0 = <&goodix_pins_a>; 3203d058df9SYannick Fertre interrupt-parent = <&gpiof>; 3213d058df9SYannick Fertre interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 3223d058df9SYannick Fertre AVDD28-supply = <&scmi_v3v3_sw>; 3233d058df9SYannick Fertre VDDIO-supply = <&scmi_v3v3_sw>; 3243d058df9SYannick Fertre touchscreen-size-x = <480>; 3253d058df9SYannick Fertre touchscreen-size-y = <272>; 3263d058df9SYannick Fertre status = "okay" ; 3273d058df9SYannick Fertre }; 328724ba675SRob Herring}; 329724ba675SRob Herring 330724ba675SRob Herring&iwdg2 { 331724ba675SRob Herring timeout-sec = <32>; 332724ba675SRob Herring status = "okay"; 333724ba675SRob Herring}; 334724ba675SRob Herring 335da5216c6SRaphael Gallais-Pou<dc { 336da5216c6SRaphael Gallais-Pou pinctrl-names = "default", "sleep"; 337da5216c6SRaphael Gallais-Pou pinctrl-0 = <<dc_pins_a>; 338da5216c6SRaphael Gallais-Pou pinctrl-1 = <<dc_sleep_pins_a>; 339da5216c6SRaphael Gallais-Pou status = "okay"; 340da5216c6SRaphael Gallais-Pou 341da5216c6SRaphael Gallais-Pou port { 342da5216c6SRaphael Gallais-Pou ltdc_out_rgb: endpoint { 343da5216c6SRaphael Gallais-Pou remote-endpoint = <&panel_in_rgb>; 344da5216c6SRaphael Gallais-Pou }; 345da5216c6SRaphael Gallais-Pou }; 346da5216c6SRaphael Gallais-Pou}; 347da5216c6SRaphael Gallais-Pou 348724ba675SRob Herring&rtc { 349724ba675SRob Herring status = "okay"; 350724ba675SRob Herring}; 351724ba675SRob Herring 3524c757f6bSEtienne Carriere&scmi_regu { 3534c757f6bSEtienne Carriere scmi_vdd_adc: regulator@10 { 3544c757f6bSEtienne Carriere reg = <VOLTD_SCMI_STPMIC1_LDO1>; 3554c757f6bSEtienne Carriere regulator-name = "vdd_adc"; 3564c757f6bSEtienne Carriere }; 3574c757f6bSEtienne Carriere scmi_vdd_usb: regulator@13 { 3584c757f6bSEtienne Carriere reg = <VOLTD_SCMI_STPMIC1_LDO4>; 3594c757f6bSEtienne Carriere regulator-name = "vdd_usb"; 3604c757f6bSEtienne Carriere }; 3614c757f6bSEtienne Carriere scmi_vdd_sd: regulator@14 { 3624c757f6bSEtienne Carriere reg = <VOLTD_SCMI_STPMIC1_LDO5>; 3634c757f6bSEtienne Carriere regulator-name = "vdd_sd"; 3644c757f6bSEtienne Carriere }; 3654c757f6bSEtienne Carriere scmi_v1v8_periph: regulator@15 { 3664c757f6bSEtienne Carriere reg = <VOLTD_SCMI_STPMIC1_LDO6>; 3674c757f6bSEtienne Carriere regulator-name = "v1v8_periph"; 3684c757f6bSEtienne Carriere }; 3694c757f6bSEtienne Carriere scmi_v3v3_sw: regulator@19 { 3704c757f6bSEtienne Carriere reg = <VOLTD_SCMI_STPMIC1_PWR_SW2>; 3714c757f6bSEtienne Carriere regulator-name = "v3v3_sw"; 3724c757f6bSEtienne Carriere }; 3734c757f6bSEtienne Carriere}; 3744c757f6bSEtienne Carriere 375724ba675SRob Herring&sdmmc1 { 376724ba675SRob Herring pinctrl-names = "default", "opendrain", "sleep"; 377724ba675SRob Herring pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>; 378724ba675SRob Herring pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>; 379724ba675SRob Herring pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; 380724ba675SRob Herring cd-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 381724ba675SRob Herring disable-wp; 382724ba675SRob Herring st,neg-edge; 383724ba675SRob Herring bus-width = <4>; 3844c757f6bSEtienne Carriere vmmc-supply = <&scmi_vdd_sd>; 385724ba675SRob Herring status = "okay"; 386724ba675SRob Herring}; 387724ba675SRob Herring 388724ba675SRob Herring&spi5 { 389724ba675SRob Herring pinctrl-names = "default", "sleep"; 390724ba675SRob Herring pinctrl-0 = <&spi5_pins_a>; 391724ba675SRob Herring pinctrl-1 = <&spi5_sleep_pins_a>; 392724ba675SRob Herring status = "disabled"; 393724ba675SRob Herring}; 394724ba675SRob Herring 395724ba675SRob Herring&timers3 { 396724ba675SRob Herring /delete-property/dmas; 397724ba675SRob Herring /delete-property/dma-names; 398724ba675SRob Herring status = "disabled"; 399724ba675SRob Herring pwm { 400710d4f79SUwe Kleine-König /* PWM output on pin 7 of the expansion connector (CN8.7) using TIM3_CH4 func */ 401724ba675SRob Herring pinctrl-0 = <&pwm3_pins_a>; 402724ba675SRob Herring pinctrl-1 = <&pwm3_sleep_pins_a>; 403724ba675SRob Herring pinctrl-names = "default", "sleep"; 404724ba675SRob Herring status = "okay"; 405724ba675SRob Herring }; 406724ba675SRob Herring timer@2 { 407724ba675SRob Herring status = "okay"; 408724ba675SRob Herring }; 409724ba675SRob Herring}; 410724ba675SRob Herring 411724ba675SRob Herring&timers4 { 412724ba675SRob Herring /delete-property/dmas; 413724ba675SRob Herring /delete-property/dma-names; 414724ba675SRob Herring status = "disabled"; 415724ba675SRob Herring pwm { 416710d4f79SUwe Kleine-König /* PWM output on pin 31 of the expansion connector (CN8.31) using TIM4_CH2 func */ 417724ba675SRob Herring pinctrl-0 = <&pwm4_pins_a>; 418724ba675SRob Herring pinctrl-1 = <&pwm4_sleep_pins_a>; 419724ba675SRob Herring pinctrl-names = "default", "sleep"; 420724ba675SRob Herring status = "okay"; 421724ba675SRob Herring }; 422724ba675SRob Herring timer@3 { 423724ba675SRob Herring status = "okay"; 424724ba675SRob Herring }; 425724ba675SRob Herring}; 426724ba675SRob Herring 427724ba675SRob Herring&timers8 { 428724ba675SRob Herring /delete-property/dmas; 429724ba675SRob Herring /delete-property/dma-names; 430724ba675SRob Herring status = "disabled"; 431724ba675SRob Herring pwm { 432710d4f79SUwe Kleine-König /* PWM output on pin 32 of the expansion connector (CN8.32) using TIM8_CH3 func */ 433724ba675SRob Herring pinctrl-0 = <&pwm8_pins_a>; 434724ba675SRob Herring pinctrl-1 = <&pwm8_sleep_pins_a>; 435724ba675SRob Herring pinctrl-names = "default", "sleep"; 436724ba675SRob Herring status = "okay"; 437724ba675SRob Herring }; 438724ba675SRob Herring timer@7 { 439724ba675SRob Herring status = "okay"; 440724ba675SRob Herring }; 441724ba675SRob Herring}; 442724ba675SRob Herring 443724ba675SRob Herring&timers14 { 444724ba675SRob Herring status = "disabled"; 445724ba675SRob Herring pwm { 446710d4f79SUwe Kleine-König /* PWM output on pin 33 of the expansion connector (CN8.33) using TIM14_CH1 func */ 447724ba675SRob Herring pinctrl-0 = <&pwm14_pins_a>; 448724ba675SRob Herring pinctrl-1 = <&pwm14_sleep_pins_a>; 449724ba675SRob Herring pinctrl-names = "default", "sleep"; 450724ba675SRob Herring status = "okay"; 451724ba675SRob Herring }; 452724ba675SRob Herring timer@13 { 453724ba675SRob Herring status = "okay"; 454724ba675SRob Herring }; 455724ba675SRob Herring}; 456724ba675SRob Herring 457724ba675SRob Herring&uart4 { 458724ba675SRob Herring pinctrl-names = "default", "sleep", "idle"; 459724ba675SRob Herring pinctrl-0 = <&uart4_pins_a>; 460724ba675SRob Herring pinctrl-1 = <&uart4_sleep_pins_a>; 461724ba675SRob Herring pinctrl-2 = <&uart4_idle_pins_a>; 462724ba675SRob Herring /delete-property/dmas; 463724ba675SRob Herring /delete-property/dma-names; 464724ba675SRob Herring status = "okay"; 465724ba675SRob Herring}; 466724ba675SRob Herring 467724ba675SRob Herring&uart8 { 468724ba675SRob Herring pinctrl-names = "default", "sleep", "idle"; 469724ba675SRob Herring pinctrl-0 = <&uart8_pins_a>; 470724ba675SRob Herring pinctrl-1 = <&uart8_sleep_pins_a>; 471724ba675SRob Herring pinctrl-2 = <&uart8_idle_pins_a>; 472724ba675SRob Herring /delete-property/dmas; 473724ba675SRob Herring /delete-property/dma-names; 474724ba675SRob Herring status = "disabled"; 475724ba675SRob Herring}; 476724ba675SRob Herring 477724ba675SRob Herring&usart1 { 478724ba675SRob Herring pinctrl-names = "default", "sleep", "idle"; 479724ba675SRob Herring pinctrl-0 = <&usart1_pins_a>; 480724ba675SRob Herring pinctrl-1 = <&usart1_sleep_pins_a>; 481724ba675SRob Herring pinctrl-2 = <&usart1_idle_pins_a>; 482724ba675SRob Herring uart-has-rtscts; 483724ba675SRob Herring status = "disabled"; 484724ba675SRob Herring}; 485724ba675SRob Herring 486724ba675SRob Herring/* Bluetooth */ 487724ba675SRob Herring&usart2 { 488724ba675SRob Herring pinctrl-names = "default", "sleep", "idle"; 489724ba675SRob Herring pinctrl-0 = <&usart2_pins_a>; 490724ba675SRob Herring pinctrl-1 = <&usart2_sleep_pins_a>; 491724ba675SRob Herring pinctrl-2 = <&usart2_idle_pins_a>; 492724ba675SRob Herring uart-has-rtscts; 493724ba675SRob Herring status = "okay"; 494724ba675SRob Herring}; 495724ba675SRob Herring 496724ba675SRob Herring&usbh_ehci { 497724ba675SRob Herring phys = <&usbphyc_port0>; 498724ba675SRob Herring status = "okay"; 499724ba675SRob Herring #address-cells = <1>; 500724ba675SRob Herring #size-cells = <0>; 501724ba675SRob Herring /* onboard HUB */ 502724ba675SRob Herring hub@1 { 503724ba675SRob Herring compatible = "usb424,2514"; 504724ba675SRob Herring reg = <1>; 5054c757f6bSEtienne Carriere vdd-supply = <&scmi_v3v3_sw>; 506724ba675SRob Herring }; 507724ba675SRob Herring}; 508724ba675SRob Herring 509724ba675SRob Herring&usbotg_hs { 510724ba675SRob Herring phys = <&usbphyc_port1 0>; 511724ba675SRob Herring phy-names = "usb2-phy"; 512724ba675SRob Herring usb-role-switch; 513724ba675SRob Herring status = "okay"; 514724ba675SRob Herring port { 515724ba675SRob Herring usbotg_hs_ep: endpoint { 516724ba675SRob Herring remote-endpoint = <&con_usb_c_g0_ep>; 517724ba675SRob Herring }; 518724ba675SRob Herring }; 519724ba675SRob Herring}; 520724ba675SRob Herring 521724ba675SRob Herring&usbphyc { 522724ba675SRob Herring status = "okay"; 523724ba675SRob Herring}; 524724ba675SRob Herring 525724ba675SRob Herring&usbphyc_port0 { 5264c757f6bSEtienne Carriere phy-supply = <&scmi_vdd_usb>; 527724ba675SRob Herring st,current-boost-microamp = <1000>; 528724ba675SRob Herring st,decrease-hs-slew-rate; 529724ba675SRob Herring st,tune-hs-dc-level = <2>; 530724ba675SRob Herring st,enable-hs-rftime-reduction; 531724ba675SRob Herring st,trim-hs-current = <11>; 532724ba675SRob Herring st,trim-hs-impedance = <2>; 533724ba675SRob Herring st,tune-squelch-level = <1>; 534724ba675SRob Herring st,enable-hs-rx-gain-eq; 535724ba675SRob Herring st,no-hs-ftime-ctrl; 536724ba675SRob Herring st,no-lsfs-sc; 537724ba675SRob Herring}; 538724ba675SRob Herring 539724ba675SRob Herring&usbphyc_port1 { 5404c757f6bSEtienne Carriere phy-supply = <&scmi_vdd_usb>; 541724ba675SRob Herring st,current-boost-microamp = <1000>; 542724ba675SRob Herring st,decrease-hs-slew-rate; 543724ba675SRob Herring st,tune-hs-dc-level = <2>; 544724ba675SRob Herring st,enable-hs-rftime-reduction; 545724ba675SRob Herring st,trim-hs-current = <11>; 546724ba675SRob Herring st,trim-hs-impedance = <2>; 547724ba675SRob Herring st,tune-squelch-level = <1>; 548724ba675SRob Herring st,enable-hs-rx-gain-eq; 549724ba675SRob Herring st,no-hs-ftime-ctrl; 550724ba675SRob Herring st,no-lsfs-sc; 551724ba675SRob Herring}; 552