1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright 2020, Compass Electronics Group, LLC 4c66ec88fSEmmanuel Vadot */ 5c66ec88fSEmmanuel Vadot 6c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 7c66ec88fSEmmanuel Vadot#include <dt-bindings/input/input.h> 85def4c47SEmmanuel Vadot#include <dt-bindings/clk/versaclock.h> 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot/ { 11c66ec88fSEmmanuel Vadot backlight_lvds: backlight-lvds { 12c66ec88fSEmmanuel Vadot compatible = "pwm-backlight"; 13c66ec88fSEmmanuel Vadot power-supply = <®_lcd>; 145def4c47SEmmanuel Vadot enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>; 155def4c47SEmmanuel Vadot pwms = <&pwm2 0 25000>; 16c66ec88fSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 17c66ec88fSEmmanuel Vadot default-brightness-level = <6>; 18c66ec88fSEmmanuel Vadot }; 19c66ec88fSEmmanuel Vadot 205def4c47SEmmanuel Vadot backlight_dpi: backlight-dpi { 21c66ec88fSEmmanuel Vadot compatible = "pwm-backlight"; 22c66ec88fSEmmanuel Vadot power-supply = <®_lcd>; 23c66ec88fSEmmanuel Vadot enable-gpios = <&gpio_exp1 7 GPIO_ACTIVE_LOW>; 245def4c47SEmmanuel Vadot pwms = <&pwm0 0 25000>; 255def4c47SEmmanuel Vadot brightness-levels = <0 25 33 50 63 75 88 100>; 26c66ec88fSEmmanuel Vadot default-brightness-level = <6>; 27c66ec88fSEmmanuel Vadot }; 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot hdmi0-out { 30c66ec88fSEmmanuel Vadot compatible = "hdmi-connector"; 31c66ec88fSEmmanuel Vadot type = "a"; 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot port { 34c66ec88fSEmmanuel Vadot hdmi0_con: endpoint { 35c66ec88fSEmmanuel Vadot remote-endpoint = <&rcar_dw_hdmi0_out>; 36c66ec88fSEmmanuel Vadot }; 37c66ec88fSEmmanuel Vadot }; 38c66ec88fSEmmanuel Vadot }; 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot keys { 41c66ec88fSEmmanuel Vadot compatible = "gpio-keys"; 42c66ec88fSEmmanuel Vadot 435def4c47SEmmanuel Vadot key-1 { /* S19 */ 44c66ec88fSEmmanuel Vadot gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; 455def4c47SEmmanuel Vadot linux,code = <KEY_UP>; 465def4c47SEmmanuel Vadot label = "Up"; 47c66ec88fSEmmanuel Vadot wakeup-source; 48c66ec88fSEmmanuel Vadot debounce-interval = <20>; 49c66ec88fSEmmanuel Vadot }; 505def4c47SEmmanuel Vadot key-2 { /*S20 */ 51c66ec88fSEmmanuel Vadot gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; 525def4c47SEmmanuel Vadot linux,code = <KEY_LEFT>; 535def4c47SEmmanuel Vadot label = "Left"; 54c66ec88fSEmmanuel Vadot wakeup-source; 55c66ec88fSEmmanuel Vadot debounce-interval = <20>; 56c66ec88fSEmmanuel Vadot }; 575def4c47SEmmanuel Vadot key-3 { /* S21 */ 58c66ec88fSEmmanuel Vadot gpios = <&gpio5 17 GPIO_ACTIVE_LOW>; 595def4c47SEmmanuel Vadot linux,code = <KEY_DOWN>; 605def4c47SEmmanuel Vadot label = "Down"; 61c66ec88fSEmmanuel Vadot wakeup-source; 62c66ec88fSEmmanuel Vadot debounce-interval = <20>; 63c66ec88fSEmmanuel Vadot }; 645def4c47SEmmanuel Vadot key-4 { /* S22 */ 65c66ec88fSEmmanuel Vadot gpios = <&gpio5 20 GPIO_ACTIVE_LOW>; 665def4c47SEmmanuel Vadot linux,code = <KEY_RIGHT>; 675def4c47SEmmanuel Vadot label = "Right"; 68c66ec88fSEmmanuel Vadot wakeup-source; 69c66ec88fSEmmanuel Vadot debounce-interval = <20>; 70c66ec88fSEmmanuel Vadot }; 715def4c47SEmmanuel Vadot key-5 { /* S23 */ 72c66ec88fSEmmanuel Vadot gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 735def4c47SEmmanuel Vadot linux,code = <KEY_ENTER>; 745def4c47SEmmanuel Vadot label = "Center"; 75c66ec88fSEmmanuel Vadot wakeup-source; 76c66ec88fSEmmanuel Vadot debounce-interval = <20>; 77c66ec88fSEmmanuel Vadot }; 78c66ec88fSEmmanuel Vadot }; 79c66ec88fSEmmanuel Vadot 80c66ec88fSEmmanuel Vadot leds { 81c66ec88fSEmmanuel Vadot compatible = "gpio-leds"; 82c66ec88fSEmmanuel Vadot pinctrl-0 = <&led_pins>; 83c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 84c66ec88fSEmmanuel Vadot 85c66ec88fSEmmanuel Vadot led0 { 86c66ec88fSEmmanuel Vadot gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; 87c66ec88fSEmmanuel Vadot label = "LED0"; 88c66ec88fSEmmanuel Vadot linux,default-trigger = "heartbeat"; 89c66ec88fSEmmanuel Vadot }; 90c66ec88fSEmmanuel Vadot led1 { 91c66ec88fSEmmanuel Vadot gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; 92c66ec88fSEmmanuel Vadot label = "LED1"; 93c66ec88fSEmmanuel Vadot }; 94c66ec88fSEmmanuel Vadot led2 { 95c66ec88fSEmmanuel Vadot gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; 96c66ec88fSEmmanuel Vadot label = "LED2"; 97c66ec88fSEmmanuel Vadot }; 98c66ec88fSEmmanuel Vadot led3 { 99c66ec88fSEmmanuel Vadot gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; 100c66ec88fSEmmanuel Vadot label = "LED3"; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot }; 103c66ec88fSEmmanuel Vadot 104c66ec88fSEmmanuel Vadot lvds { 105c66ec88fSEmmanuel Vadot compatible = "panel-lvds"; 106c66ec88fSEmmanuel Vadot power-supply = <®_lcd_reset>; 107c66ec88fSEmmanuel Vadot width-mm = <223>; 108c66ec88fSEmmanuel Vadot height-mm = <125>; 109c66ec88fSEmmanuel Vadot backlight = <&backlight_lvds>; 110c66ec88fSEmmanuel Vadot data-mapping = "vesa-24"; 111c66ec88fSEmmanuel Vadot 112c66ec88fSEmmanuel Vadot panel-timing { 113c66ec88fSEmmanuel Vadot /* 800x480@60Hz */ 114c66ec88fSEmmanuel Vadot clock-frequency = <30000000>; 115c66ec88fSEmmanuel Vadot hactive = <800>; 116c66ec88fSEmmanuel Vadot vactive = <480>; 117c66ec88fSEmmanuel Vadot hsync-len = <48>; 118c66ec88fSEmmanuel Vadot hfront-porch = <40>; 119c66ec88fSEmmanuel Vadot hback-porch = <40>; 120c66ec88fSEmmanuel Vadot vfront-porch = <13>; 121c66ec88fSEmmanuel Vadot vback-porch = <29>; 1225def4c47SEmmanuel Vadot vsync-len = <1>; 123c66ec88fSEmmanuel Vadot hsync-active = <1>; 1245def4c47SEmmanuel Vadot vsync-active = <3>; 125c66ec88fSEmmanuel Vadot de-active = <1>; 126c66ec88fSEmmanuel Vadot pixelclk-active = <0>; 127c66ec88fSEmmanuel Vadot }; 128c66ec88fSEmmanuel Vadot 129c66ec88fSEmmanuel Vadot port { 130c66ec88fSEmmanuel Vadot panel_in: endpoint { 131c66ec88fSEmmanuel Vadot remote-endpoint = <&lvds0_out>; 132c66ec88fSEmmanuel Vadot }; 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot }; 135c66ec88fSEmmanuel Vadot 136c66ec88fSEmmanuel Vadot rgb { 137c66ec88fSEmmanuel Vadot /* Different LCD with compatible timings */ 138c66ec88fSEmmanuel Vadot compatible = "rocktech,rk070er9427"; 1395def4c47SEmmanuel Vadot backlight = <&backlight_dpi>; 140c66ec88fSEmmanuel Vadot enable-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; 141c66ec88fSEmmanuel Vadot power-supply = <®_lcd>; 142c66ec88fSEmmanuel Vadot port { 143c66ec88fSEmmanuel Vadot rgb_panel: endpoint { 144c66ec88fSEmmanuel Vadot remote-endpoint = <&du_out_rgb>; 145c66ec88fSEmmanuel Vadot }; 146c66ec88fSEmmanuel Vadot }; 147c66ec88fSEmmanuel Vadot }; 148c66ec88fSEmmanuel Vadot 149c66ec88fSEmmanuel Vadot reg_audio: regulator_audio { 150c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 151c66ec88fSEmmanuel Vadot regulator-name = "audio-1.8V"; 152c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 153c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 1545def4c47SEmmanuel Vadot gpio = <&gpio_exp4 1 GPIO_ACTIVE_HIGH>; 155c66ec88fSEmmanuel Vadot enable-active-high; 156c66ec88fSEmmanuel Vadot }; 157c66ec88fSEmmanuel Vadot 158c66ec88fSEmmanuel Vadot reg_lcd: regulator-lcd { 159c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 160c66ec88fSEmmanuel Vadot regulator-name = "lcd_panel_pwr"; 161c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 162c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 163c66ec88fSEmmanuel Vadot gpio = <&gpio_exp1 1 GPIO_ACTIVE_HIGH>; 164c66ec88fSEmmanuel Vadot enable-active-high; 165c66ec88fSEmmanuel Vadot }; 166c66ec88fSEmmanuel Vadot 167c66ec88fSEmmanuel Vadot reg_lcd_reset: regulator-lcd-reset { 168c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 169c66ec88fSEmmanuel Vadot regulator-name = "nLCD_RESET"; 170c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 171c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 172c66ec88fSEmmanuel Vadot gpio = <&gpio5 3 GPIO_ACTIVE_HIGH>; 173c66ec88fSEmmanuel Vadot enable-active-high; 174c66ec88fSEmmanuel Vadot vin-supply = <®_lcd>; 175c66ec88fSEmmanuel Vadot }; 176c66ec88fSEmmanuel Vadot 177c66ec88fSEmmanuel Vadot reg_cam0: regulator_camera { 178c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 179c66ec88fSEmmanuel Vadot regulator-name = "reg_cam0"; 180c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 181c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 182c66ec88fSEmmanuel Vadot gpio = <&gpio_exp2 2 GPIO_ACTIVE_HIGH>; 183c66ec88fSEmmanuel Vadot enable-active-high; 184c66ec88fSEmmanuel Vadot }; 185c66ec88fSEmmanuel Vadot 186c66ec88fSEmmanuel Vadot reg_cam1: regulator_camera { 187c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 188c66ec88fSEmmanuel Vadot regulator-name = "reg_cam1"; 189c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 190c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 191c66ec88fSEmmanuel Vadot gpio = <&gpio_exp2 5 GPIO_ACTIVE_HIGH>; 192c66ec88fSEmmanuel Vadot enable-active-high; 193c66ec88fSEmmanuel Vadot startup-delay-us = <100000>; 194c66ec88fSEmmanuel Vadot }; 195c66ec88fSEmmanuel Vadot 196c66ec88fSEmmanuel Vadot sound_card { 197c66ec88fSEmmanuel Vadot compatible = "audio-graph-card"; 198c66ec88fSEmmanuel Vadot label = "rcar-sound"; 199c66ec88fSEmmanuel Vadot dais = <&rsnd_port0>, <&rsnd_port1>; 200354d7675SEmmanuel Vadot widgets = "Microphone", "Mic Jack", 201354d7675SEmmanuel Vadot "Line", "Line In Jack", 202354d7675SEmmanuel Vadot "Headphone", "Headphone Jack"; 203354d7675SEmmanuel Vadot mic-det-gpio = <&gpio0 2 GPIO_ACTIVE_LOW>; 204354d7675SEmmanuel Vadot routing = "Headphone Jack", "HPOUTL", 205354d7675SEmmanuel Vadot "Headphone Jack", "HPOUTR", 206354d7675SEmmanuel Vadot "IN3R", "MICBIAS", 207354d7675SEmmanuel Vadot "Mic Jack", "IN3R"; 208c66ec88fSEmmanuel Vadot }; 209c66ec88fSEmmanuel Vadot 210c66ec88fSEmmanuel Vadot vccq_sdhi0: regulator-vccq-sdhi0 { 211c66ec88fSEmmanuel Vadot compatible = "regulator-gpio"; 212c66ec88fSEmmanuel Vadot regulator-name = "SDHI0 VccQ"; 213c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 214c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 215c66ec88fSEmmanuel Vadot gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>; 216c66ec88fSEmmanuel Vadot gpios-states = <1>; 217c66ec88fSEmmanuel Vadot states = <3300000 1>, <1800000 0>; 218c66ec88fSEmmanuel Vadot }; 219c66ec88fSEmmanuel Vadot 220c66ec88fSEmmanuel Vadot /* External DU dot clocks */ 221c66ec88fSEmmanuel Vadot x302_clk: x302-clock { 222c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 223c66ec88fSEmmanuel Vadot #clock-cells = <0>; 224c66ec88fSEmmanuel Vadot clock-frequency = <33000000>; 225c66ec88fSEmmanuel Vadot }; 226c66ec88fSEmmanuel Vadot 227c66ec88fSEmmanuel Vadot x304_clk: x304-clock { 228c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 229c66ec88fSEmmanuel Vadot #clock-cells = <0>; 230c66ec88fSEmmanuel Vadot clock-frequency = <25000000>; 231c66ec88fSEmmanuel Vadot }; 232c66ec88fSEmmanuel Vadot 2335def4c47SEmmanuel Vadot connector { 2345def4c47SEmmanuel Vadot compatible = "usb-c-connector"; 2355def4c47SEmmanuel Vadot label = "USB-C"; 2365def4c47SEmmanuel Vadot data-role = "dual"; 2375def4c47SEmmanuel Vadot 2385def4c47SEmmanuel Vadot ports { 2395def4c47SEmmanuel Vadot #address-cells = <1>; 2405def4c47SEmmanuel Vadot #size-cells = <0>; 2415def4c47SEmmanuel Vadot port@0 { 2425def4c47SEmmanuel Vadot reg = <0>; 2435def4c47SEmmanuel Vadot hs_ep: endpoint { 2445def4c47SEmmanuel Vadot remote-endpoint = <&usb3_hs_ep>; 2455def4c47SEmmanuel Vadot }; 2465def4c47SEmmanuel Vadot }; 2475def4c47SEmmanuel Vadot port@1 { 2485def4c47SEmmanuel Vadot reg = <1>; 2495def4c47SEmmanuel Vadot ss_ep: endpoint { 2505def4c47SEmmanuel Vadot remote-endpoint = <&hd3ss3220_in_ep>; 2515def4c47SEmmanuel Vadot }; 2525def4c47SEmmanuel Vadot }; 2535def4c47SEmmanuel Vadot }; 2545def4c47SEmmanuel Vadot }; 255c66ec88fSEmmanuel Vadot}; 256c66ec88fSEmmanuel Vadot 257c66ec88fSEmmanuel Vadot&audio_clk_b { 258c66ec88fSEmmanuel Vadot clock-frequency = <22579200>; 259c66ec88fSEmmanuel Vadot}; 260c66ec88fSEmmanuel Vadot 261c66ec88fSEmmanuel Vadot&can0 { 262c66ec88fSEmmanuel Vadot pinctrl-0 = <&can0_pins>; 263c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 264c66ec88fSEmmanuel Vadot renesas,can-clock-select = <0x0>; 265c66ec88fSEmmanuel Vadot status = "okay"; 266c66ec88fSEmmanuel Vadot}; 267c66ec88fSEmmanuel Vadot 268c66ec88fSEmmanuel Vadot&can1 { 269c66ec88fSEmmanuel Vadot pinctrl-0 = <&can1_pins>; 270c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 271c66ec88fSEmmanuel Vadot renesas,can-clock-select = <0x0>; 272c66ec88fSEmmanuel Vadot status = "okay"; 273c66ec88fSEmmanuel Vadot}; 274c66ec88fSEmmanuel Vadot 275*d5b0e70fSEmmanuel Vadot&du { 276*d5b0e70fSEmmanuel Vadot ports { 277*d5b0e70fSEmmanuel Vadot port@0 { 278*d5b0e70fSEmmanuel Vadot du_out_rgb: endpoint { 279c66ec88fSEmmanuel Vadot remote-endpoint = <&rgb_panel>; 280c66ec88fSEmmanuel Vadot }; 281*d5b0e70fSEmmanuel Vadot }; 282*d5b0e70fSEmmanuel Vadot }; 283*d5b0e70fSEmmanuel Vadot}; 284c66ec88fSEmmanuel Vadot 285c66ec88fSEmmanuel Vadot&ehci0 { 286c66ec88fSEmmanuel Vadot dr_mode = "otg"; 287c66ec88fSEmmanuel Vadot status = "okay"; 2885956d97fSEmmanuel Vadot clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; 289c66ec88fSEmmanuel Vadot}; 290c66ec88fSEmmanuel Vadot 291c66ec88fSEmmanuel Vadot&ehci1 { 292c66ec88fSEmmanuel Vadot status = "okay"; 2935956d97fSEmmanuel Vadot clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; 294c66ec88fSEmmanuel Vadot}; 295c66ec88fSEmmanuel Vadot 296c66ec88fSEmmanuel Vadot&hdmi0 { 297c66ec88fSEmmanuel Vadot status = "okay"; 298c66ec88fSEmmanuel Vadot ports { 299c66ec88fSEmmanuel Vadot #address-cells = <1>; 300c66ec88fSEmmanuel Vadot #size-cells = <0>; 301c66ec88fSEmmanuel Vadot port@0 { 302c66ec88fSEmmanuel Vadot reg = <0>; 303c66ec88fSEmmanuel Vadot dw_hdmi0_in: endpoint { 304c66ec88fSEmmanuel Vadot remote-endpoint = <&du_out_hdmi0>; 305c66ec88fSEmmanuel Vadot }; 306c66ec88fSEmmanuel Vadot }; 307c66ec88fSEmmanuel Vadot port@1 { 308c66ec88fSEmmanuel Vadot reg = <1>; 309c66ec88fSEmmanuel Vadot rcar_dw_hdmi0_out: endpoint { 310c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi0_con>; 311c66ec88fSEmmanuel Vadot }; 312c66ec88fSEmmanuel Vadot }; 313c66ec88fSEmmanuel Vadot port@2 { 314c66ec88fSEmmanuel Vadot reg = <2>; 315c66ec88fSEmmanuel Vadot dw_hdmi0_snd_in: endpoint { 316c66ec88fSEmmanuel Vadot remote-endpoint = <&rsnd_endpoint1>; 317c66ec88fSEmmanuel Vadot }; 318c66ec88fSEmmanuel Vadot }; 319c66ec88fSEmmanuel Vadot }; 320c66ec88fSEmmanuel Vadot}; 321c66ec88fSEmmanuel Vadot 322c66ec88fSEmmanuel Vadot&hscif1 { 323c66ec88fSEmmanuel Vadot pinctrl-0 = <&hscif1_pins>; 324c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 325c66ec88fSEmmanuel Vadot uart-has-rtscts; 326c66ec88fSEmmanuel Vadot status = "okay"; 327c66ec88fSEmmanuel Vadot}; 328c66ec88fSEmmanuel Vadot 329c66ec88fSEmmanuel Vadot&hsusb { 330c66ec88fSEmmanuel Vadot dr_mode = "otg"; 331c66ec88fSEmmanuel Vadot status = "okay"; 332c66ec88fSEmmanuel Vadot}; 333c66ec88fSEmmanuel Vadot 334c66ec88fSEmmanuel Vadot&i2c2 { 335c66ec88fSEmmanuel Vadot status = "okay"; 3365def4c47SEmmanuel Vadot clock-frequency = <400000>; 337c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 338c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 339c66ec88fSEmmanuel Vadot 340c66ec88fSEmmanuel Vadot gpio_exp2: gpio@21 { 341c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 342c66ec88fSEmmanuel Vadot reg = <0x21>; 343c66ec88fSEmmanuel Vadot gpio-controller; 344c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 345c66ec88fSEmmanuel Vadot }; 346c66ec88fSEmmanuel Vadot 347c66ec88fSEmmanuel Vadot gpio_exp3: gpio@22 { 348c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 349c66ec88fSEmmanuel Vadot reg = <0x22>; 350c66ec88fSEmmanuel Vadot gpio-controller; 351c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 352c66ec88fSEmmanuel Vadot }; 353c66ec88fSEmmanuel Vadot 354c66ec88fSEmmanuel Vadot gpio_exp4: gpio@23 { 355c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 356c66ec88fSEmmanuel Vadot reg = <0x23>; 357c66ec88fSEmmanuel Vadot gpio-controller; 358c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 359c66ec88fSEmmanuel Vadot }; 360c66ec88fSEmmanuel Vadot 361c66ec88fSEmmanuel Vadot versaclock6_bb: clock-controller@6a { 362c66ec88fSEmmanuel Vadot compatible = "idt,5p49v6965"; 363c66ec88fSEmmanuel Vadot reg = <0x6a>; 364c66ec88fSEmmanuel Vadot #clock-cells = <1>; 365c66ec88fSEmmanuel Vadot clocks = <&x304_clk>; 366c66ec88fSEmmanuel Vadot clock-names = "xin"; 3675def4c47SEmmanuel Vadot 368c9ccf3a3SEmmanuel Vadot assigned-clocks = <&versaclock6_bb 1>, <&versaclock6_bb 2>, 369c9ccf3a3SEmmanuel Vadot <&versaclock6_bb 3>, <&versaclock6_bb 4>; 370c9ccf3a3SEmmanuel Vadot assigned-clock-rates = <24000000>, <24000000>, <24000000>, 371c9ccf3a3SEmmanuel Vadot <24576000>; 3725def4c47SEmmanuel Vadot 3735def4c47SEmmanuel Vadot OUT1 { 3745def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3755def4c47SEmmanuel Vadot idt,voltage-microvolt = <1800000>; 3765def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3775def4c47SEmmanuel Vadot }; 3785def4c47SEmmanuel Vadot 3795def4c47SEmmanuel Vadot OUT2 { 3805def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3815def4c47SEmmanuel Vadot idt,voltage-microvolt = <1800000>; 3825def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3835def4c47SEmmanuel Vadot }; 3845def4c47SEmmanuel Vadot 3855def4c47SEmmanuel Vadot OUT3 { 3865def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3875def4c47SEmmanuel Vadot idt,voltage-microvolt = <3300000>; 3885def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3895def4c47SEmmanuel Vadot }; 3905def4c47SEmmanuel Vadot 3915def4c47SEmmanuel Vadot OUT4 { 3925def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3935def4c47SEmmanuel Vadot idt,voltage-microvolt = <3300000>; 3945def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3955def4c47SEmmanuel Vadot }; 396c66ec88fSEmmanuel Vadot }; 397c66ec88fSEmmanuel Vadot}; 398c66ec88fSEmmanuel Vadot 399c66ec88fSEmmanuel Vadot&i2c0 { 400c66ec88fSEmmanuel Vadot status = "okay"; 401c66ec88fSEmmanuel Vadot clock-frequency = <400000>; 402c66ec88fSEmmanuel Vadot 403c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 404c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 405c66ec88fSEmmanuel Vadot}; 406c66ec88fSEmmanuel Vadot 407c66ec88fSEmmanuel Vadot&i2c5 { 408c66ec88fSEmmanuel Vadot status = "okay"; 4095def4c47SEmmanuel Vadot clock-frequency = <400000>; 410c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c5_pins>; 411c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 412c66ec88fSEmmanuel Vadot 413c66ec88fSEmmanuel Vadot codec: wm8962@1a { 414c66ec88fSEmmanuel Vadot compatible = "wlf,wm8962"; 415c66ec88fSEmmanuel Vadot reg = <0x1a>; 4165def4c47SEmmanuel Vadot clocks = <&versaclock6_bb 3>; 417c66ec88fSEmmanuel Vadot DCVDD-supply = <®_audio>; 418c66ec88fSEmmanuel Vadot DBVDD-supply = <®_audio>; 419c66ec88fSEmmanuel Vadot AVDD-supply = <®_audio>; 420c66ec88fSEmmanuel Vadot CPVDD-supply = <®_audio>; 421c66ec88fSEmmanuel Vadot MICVDD-supply = <®_audio>; 422c66ec88fSEmmanuel Vadot PLLVDD-supply = <®_audio>; 423c66ec88fSEmmanuel Vadot SPKVDD1-supply = <®_audio>; 424c66ec88fSEmmanuel Vadot SPKVDD2-supply = <®_audio>; 425c66ec88fSEmmanuel Vadot gpio-cfg = < 426c66ec88fSEmmanuel Vadot 0x0000 /* 0:Default */ 427c66ec88fSEmmanuel Vadot 0x0000 /* 1:Default */ 428c66ec88fSEmmanuel Vadot 0x0000 /* 2:Default */ 429c66ec88fSEmmanuel Vadot 0x0000 /* 3:Default */ 430c66ec88fSEmmanuel Vadot 0x0000 /* 4:Default */ 431c66ec88fSEmmanuel Vadot 0x0000 /* 5:Default */ 432c66ec88fSEmmanuel Vadot >; 433c66ec88fSEmmanuel Vadot port { 434c66ec88fSEmmanuel Vadot wm8962_endpoint: endpoint { 435c66ec88fSEmmanuel Vadot remote-endpoint = <&rsnd_endpoint0>; 436c66ec88fSEmmanuel Vadot }; 437c66ec88fSEmmanuel Vadot }; 438c66ec88fSEmmanuel Vadot }; 439c66ec88fSEmmanuel Vadot 440c66ec88fSEmmanuel Vadot /* 0 - lcd_reset */ 441c66ec88fSEmmanuel Vadot /* 1 - lcd_pwr */ 442c66ec88fSEmmanuel Vadot /* 2 - lcd_select */ 443c66ec88fSEmmanuel Vadot /* 3 - backlight-enable */ 444c66ec88fSEmmanuel Vadot /* 4 - Touch_shdwn */ 445c66ec88fSEmmanuel Vadot /* 5 - LCD_H_pol */ 446c66ec88fSEmmanuel Vadot /* 6 - lcd_V_pol */ 447c66ec88fSEmmanuel Vadot gpio_exp1: gpio@20 { 448c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 449c66ec88fSEmmanuel Vadot reg = <0x20>; 450c66ec88fSEmmanuel Vadot gpio-controller; 451c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 452c66ec88fSEmmanuel Vadot }; 453c66ec88fSEmmanuel Vadot 454c66ec88fSEmmanuel Vadot touchscreen@26 { 455c66ec88fSEmmanuel Vadot compatible = "ilitek,ili2117"; 456c66ec88fSEmmanuel Vadot reg = <0x26>; 457c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio5>; 458c66ec88fSEmmanuel Vadot interrupts = <9 IRQ_TYPE_EDGE_RISING>; 459c66ec88fSEmmanuel Vadot wakeup-source; 460c66ec88fSEmmanuel Vadot }; 461c66ec88fSEmmanuel Vadot 462c66ec88fSEmmanuel Vadot hd3ss3220@47 { 463c66ec88fSEmmanuel Vadot compatible = "ti,hd3ss3220"; 464c66ec88fSEmmanuel Vadot reg = <0x47>; 465c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio6>; 466c66ec88fSEmmanuel Vadot interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 467c66ec88fSEmmanuel Vadot 468c66ec88fSEmmanuel Vadot ports { 469c66ec88fSEmmanuel Vadot #address-cells = <1>; 470c66ec88fSEmmanuel Vadot #size-cells = <0>; 4715def4c47SEmmanuel Vadot port@0 { 4725def4c47SEmmanuel Vadot reg = <0>; 4735def4c47SEmmanuel Vadot hd3ss3220_in_ep: endpoint { 4745def4c47SEmmanuel Vadot remote-endpoint = <&ss_ep>; 4755def4c47SEmmanuel Vadot }; 4765def4c47SEmmanuel Vadot }; 477c66ec88fSEmmanuel Vadot port@1 { 478c66ec88fSEmmanuel Vadot reg = <1>; 4795def4c47SEmmanuel Vadot hd3ss3220_out_ep: endpoint { 480c66ec88fSEmmanuel Vadot remote-endpoint = <&usb3_role_switch>; 481c66ec88fSEmmanuel Vadot }; 482c66ec88fSEmmanuel Vadot }; 483c66ec88fSEmmanuel Vadot }; 484c66ec88fSEmmanuel Vadot }; 485c66ec88fSEmmanuel Vadot}; 486c66ec88fSEmmanuel Vadot 487c66ec88fSEmmanuel Vadot&lvds0 { 488c66ec88fSEmmanuel Vadot status = "okay"; 489c66ec88fSEmmanuel Vadot 490c66ec88fSEmmanuel Vadot ports { 491c66ec88fSEmmanuel Vadot port@1 { 492c66ec88fSEmmanuel Vadot lvds0_out: endpoint { 493c66ec88fSEmmanuel Vadot remote-endpoint = <&panel_in>; 494c66ec88fSEmmanuel Vadot }; 495c66ec88fSEmmanuel Vadot }; 496c66ec88fSEmmanuel Vadot }; 497c66ec88fSEmmanuel Vadot}; 498c66ec88fSEmmanuel Vadot 4995def4c47SEmmanuel Vadot&msiof1 { 5005def4c47SEmmanuel Vadot pinctrl-0 = <&msiof1_pins>; 5015def4c47SEmmanuel Vadot pinctrl-names = "default"; 5025def4c47SEmmanuel Vadot status = "okay"; 5035def4c47SEmmanuel Vadot cs-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; 5045def4c47SEmmanuel Vadot}; 5055def4c47SEmmanuel Vadot 506c66ec88fSEmmanuel Vadot&ohci0 { 507c66ec88fSEmmanuel Vadot dr_mode = "otg"; 508c66ec88fSEmmanuel Vadot status = "okay"; 509c66ec88fSEmmanuel Vadot}; 510c66ec88fSEmmanuel Vadot 511c66ec88fSEmmanuel Vadot&ohci1 { 512c66ec88fSEmmanuel Vadot status = "okay"; 513c66ec88fSEmmanuel Vadot}; 514c66ec88fSEmmanuel Vadot 515c66ec88fSEmmanuel Vadot&pciec0 { 516c66ec88fSEmmanuel Vadot status = "okay"; 517c66ec88fSEmmanuel Vadot}; 518c66ec88fSEmmanuel Vadot 519c66ec88fSEmmanuel Vadot&pciec1 { 520c66ec88fSEmmanuel Vadot status = "okay"; 521c66ec88fSEmmanuel Vadot}; 522c66ec88fSEmmanuel Vadot 523c66ec88fSEmmanuel Vadot&pcie_bus_clk { 524c66ec88fSEmmanuel Vadot clock-frequency = <100000000>; 525c66ec88fSEmmanuel Vadot}; 526c66ec88fSEmmanuel Vadot 527c66ec88fSEmmanuel Vadot&pfc { 528c66ec88fSEmmanuel Vadot can0_pins: can0 { 529c66ec88fSEmmanuel Vadot groups = "can0_data_a"; 530c66ec88fSEmmanuel Vadot function = "can0"; 531c66ec88fSEmmanuel Vadot }; 532c66ec88fSEmmanuel Vadot 533c66ec88fSEmmanuel Vadot can1_pins: can1 { 534c66ec88fSEmmanuel Vadot groups = "can1_data"; 535c66ec88fSEmmanuel Vadot function = "can1"; 536c66ec88fSEmmanuel Vadot }; 537c66ec88fSEmmanuel Vadot 538c66ec88fSEmmanuel Vadot du_pins: du { 539c66ec88fSEmmanuel Vadot groups = "du_rgb888", "du_sync", "du_clk_out_1", "du_disp"; 540c66ec88fSEmmanuel Vadot function = "du"; 541c66ec88fSEmmanuel Vadot }; 542c66ec88fSEmmanuel Vadot 543c66ec88fSEmmanuel Vadot i2c2_pins: i2c2 { 544c66ec88fSEmmanuel Vadot groups = "i2c2_a"; 545c66ec88fSEmmanuel Vadot function = "i2c2"; 546c66ec88fSEmmanuel Vadot }; 547c66ec88fSEmmanuel Vadot 548c66ec88fSEmmanuel Vadot i2c5_pins: i2c5 { 549c66ec88fSEmmanuel Vadot groups = "i2c5"; 550c66ec88fSEmmanuel Vadot function = "i2c5"; 551c66ec88fSEmmanuel Vadot }; 552c66ec88fSEmmanuel Vadot 553c66ec88fSEmmanuel Vadot led_pins: leds { 554c66ec88fSEmmanuel Vadot /* GP_0_4 , AVS1, AVS2, GP_7_3 */ 555c66ec88fSEmmanuel Vadot pins = "GP_0_4", "GP_7_0", "GP_7_1", "GP_7_3"; 556c66ec88fSEmmanuel Vadot bias-pull-down; 557c66ec88fSEmmanuel Vadot }; 558c66ec88fSEmmanuel Vadot 5595def4c47SEmmanuel Vadot msiof1_pins: msiof1 { 5605def4c47SEmmanuel Vadot groups = "msiof1_clk_g", "msiof1_rxd_g", "msiof1_txd_g"; 5615def4c47SEmmanuel Vadot function = "msiof1"; 5625def4c47SEmmanuel Vadot }; 5635def4c47SEmmanuel Vadot 564c66ec88fSEmmanuel Vadot pwm0_pins: pwm0 { 565c66ec88fSEmmanuel Vadot groups = "pwm0"; 566c66ec88fSEmmanuel Vadot function = "pwm0"; 567c66ec88fSEmmanuel Vadot }; 568c66ec88fSEmmanuel Vadot 569c66ec88fSEmmanuel Vadot pwm2_pins: pwm2 { 570c66ec88fSEmmanuel Vadot groups = "pwm2_a"; 5715def4c47SEmmanuel Vadot function = "pwm2"; 572c66ec88fSEmmanuel Vadot }; 573c66ec88fSEmmanuel Vadot 574c66ec88fSEmmanuel Vadot sdhi0_pins: sd0 { 575c66ec88fSEmmanuel Vadot groups = "sdhi0_data4", "sdhi0_ctrl"; 576c66ec88fSEmmanuel Vadot function = "sdhi0"; 577c66ec88fSEmmanuel Vadot power-source = <3300>; 578c66ec88fSEmmanuel Vadot }; 579c66ec88fSEmmanuel Vadot 580c66ec88fSEmmanuel Vadot sdhi0_pins_uhs: sd0_uhs { 581c66ec88fSEmmanuel Vadot groups = "sdhi0_data4", "sdhi0_ctrl"; 582c66ec88fSEmmanuel Vadot function = "sdhi0"; 583c66ec88fSEmmanuel Vadot power-source = <1800>; 584c66ec88fSEmmanuel Vadot }; 585c66ec88fSEmmanuel Vadot 586c66ec88fSEmmanuel Vadot sound_pins: sound { 587c66ec88fSEmmanuel Vadot groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; 588c66ec88fSEmmanuel Vadot function = "ssi"; 589c66ec88fSEmmanuel Vadot }; 590c66ec88fSEmmanuel Vadot 591c66ec88fSEmmanuel Vadot sound_clk_pins: sound_clk { 5925def4c47SEmmanuel Vadot groups = "audio_clk_a_a", "audio_clk_b_a"; 593c66ec88fSEmmanuel Vadot function = "audio_clk"; 594c66ec88fSEmmanuel Vadot }; 595c66ec88fSEmmanuel Vadot 596c66ec88fSEmmanuel Vadot usb0_pins: usb0 { 597c66ec88fSEmmanuel Vadot mux { 598c66ec88fSEmmanuel Vadot groups = "usb0"; 599c66ec88fSEmmanuel Vadot function = "usb0"; 600c66ec88fSEmmanuel Vadot }; 601c66ec88fSEmmanuel Vadot }; 602c66ec88fSEmmanuel Vadot 603c66ec88fSEmmanuel Vadot usb1_pins: usb1 { 604c66ec88fSEmmanuel Vadot mux { 605c66ec88fSEmmanuel Vadot groups = "usb1"; 606c66ec88fSEmmanuel Vadot function = "usb1"; 607c66ec88fSEmmanuel Vadot }; 608c66ec88fSEmmanuel Vadot }; 609c66ec88fSEmmanuel Vadot 610c66ec88fSEmmanuel Vadot usb30_pins: usb30 { 611c66ec88fSEmmanuel Vadot mux { 612c66ec88fSEmmanuel Vadot groups = "usb30"; 613c66ec88fSEmmanuel Vadot function = "usb30"; 614c66ec88fSEmmanuel Vadot }; 615c66ec88fSEmmanuel Vadot }; 616c66ec88fSEmmanuel Vadot}; 617c66ec88fSEmmanuel Vadot 618c66ec88fSEmmanuel Vadot&pwm0 { 619c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm0_pins>; 620c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 621c66ec88fSEmmanuel Vadot status = "okay"; 622c66ec88fSEmmanuel Vadot}; 623c66ec88fSEmmanuel Vadot 624c66ec88fSEmmanuel Vadot&pwm2 { 625c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm2_pins>; 626c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 627c66ec88fSEmmanuel Vadot status = "okay"; 628c66ec88fSEmmanuel Vadot}; 629c66ec88fSEmmanuel Vadot 630c66ec88fSEmmanuel Vadot&rcar_sound { 6312eb4d8dcSEmmanuel Vadot pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 632c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 633c66ec88fSEmmanuel Vadot 634c66ec88fSEmmanuel Vadot /* Single DAI */ 635c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 636c66ec88fSEmmanuel Vadot 637c66ec88fSEmmanuel Vadot /* audio_clkout0/1/2/3 */ 638c66ec88fSEmmanuel Vadot #clock-cells = <1>; 639c66ec88fSEmmanuel Vadot clock-frequency = <11289600>; 640c66ec88fSEmmanuel Vadot 641c66ec88fSEmmanuel Vadot status = "okay"; 642c66ec88fSEmmanuel Vadot 643c66ec88fSEmmanuel Vadot ports { 644c66ec88fSEmmanuel Vadot #address-cells = <1>; 645c66ec88fSEmmanuel Vadot #size-cells = <0>; 646c66ec88fSEmmanuel Vadot rsnd_port0: port@0 { 647c66ec88fSEmmanuel Vadot reg = <0>; 648c66ec88fSEmmanuel Vadot rsnd_endpoint0: endpoint { 649c66ec88fSEmmanuel Vadot remote-endpoint = <&wm8962_endpoint>; 650c66ec88fSEmmanuel Vadot 651c66ec88fSEmmanuel Vadot dai-format = "i2s"; 652c66ec88fSEmmanuel Vadot bitclock-master = <&rsnd_endpoint0>; 653c66ec88fSEmmanuel Vadot frame-master = <&rsnd_endpoint0>; 654c66ec88fSEmmanuel Vadot 6552eb4d8dcSEmmanuel Vadot playback = <&ssi1>, <&dvc1>, <&src1>; 656c66ec88fSEmmanuel Vadot capture = <&ssi0>; 657c66ec88fSEmmanuel Vadot }; 658c66ec88fSEmmanuel Vadot }; 659c66ec88fSEmmanuel Vadot rsnd_port1: port@1 { 660c66ec88fSEmmanuel Vadot reg = <0x01>; 661c66ec88fSEmmanuel Vadot rsnd_endpoint1: endpoint { 662c66ec88fSEmmanuel Vadot remote-endpoint = <&dw_hdmi0_snd_in>; 663c66ec88fSEmmanuel Vadot 664c66ec88fSEmmanuel Vadot dai-format = "i2s"; 665c66ec88fSEmmanuel Vadot bitclock-master = <&rsnd_endpoint1>; 666c66ec88fSEmmanuel Vadot frame-master = <&rsnd_endpoint1>; 667c66ec88fSEmmanuel Vadot 668c66ec88fSEmmanuel Vadot playback = <&ssi2>; 669c66ec88fSEmmanuel Vadot }; 670c66ec88fSEmmanuel Vadot }; 671c66ec88fSEmmanuel Vadot }; 672c66ec88fSEmmanuel Vadot}; 673c66ec88fSEmmanuel Vadot 674c66ec88fSEmmanuel Vadot&rwdt { 675c66ec88fSEmmanuel Vadot status = "okay"; 676c66ec88fSEmmanuel Vadot timeout-sec = <60>; 677c66ec88fSEmmanuel Vadot}; 678c66ec88fSEmmanuel Vadot 679c66ec88fSEmmanuel Vadot&scif0 { 680c66ec88fSEmmanuel Vadot pinctrl-0 = <&scif0_pins>; 681c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 682c66ec88fSEmmanuel Vadot status = "okay"; 683c66ec88fSEmmanuel Vadot}; 684c66ec88fSEmmanuel Vadot 685c66ec88fSEmmanuel Vadot&scif5 { 686c66ec88fSEmmanuel Vadot pinctrl-0 = <&scif5_pins>; 687c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 688c66ec88fSEmmanuel Vadot status = "okay"; 689c66ec88fSEmmanuel Vadot}; 690c66ec88fSEmmanuel Vadot 691c66ec88fSEmmanuel Vadot&scif_clk { 692c66ec88fSEmmanuel Vadot clock-frequency = <14745600>; 693c66ec88fSEmmanuel Vadot}; 694c66ec88fSEmmanuel Vadot 695c66ec88fSEmmanuel Vadot&sdhi0 { 696c66ec88fSEmmanuel Vadot pinctrl-0 = <&sdhi0_pins>; 697c66ec88fSEmmanuel Vadot pinctrl-1 = <&sdhi0_pins_uhs>; 698c66ec88fSEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 699c66ec88fSEmmanuel Vadot vmmc-supply = <®_3p3v>; 700c66ec88fSEmmanuel Vadot vqmmc-supply = <&vccq_sdhi0>; 701c66ec88fSEmmanuel Vadot cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 702c66ec88fSEmmanuel Vadot bus-width = <4>; 703c66ec88fSEmmanuel Vadot sd-uhs-sdr50; 704c66ec88fSEmmanuel Vadot sd-uhs-sdr104; 705c66ec88fSEmmanuel Vadot status = "okay"; 706c66ec88fSEmmanuel Vadot}; 707c66ec88fSEmmanuel Vadot 708c66ec88fSEmmanuel Vadot&ssi1 { 709c66ec88fSEmmanuel Vadot shared-pin; 710c66ec88fSEmmanuel Vadot}; 711c66ec88fSEmmanuel Vadot 712c66ec88fSEmmanuel Vadot&tmu0 { 713c66ec88fSEmmanuel Vadot status = "okay"; 714c66ec88fSEmmanuel Vadot}; 715c66ec88fSEmmanuel Vadot 716c66ec88fSEmmanuel Vadot&tmu1 { 717c66ec88fSEmmanuel Vadot status = "okay"; 718c66ec88fSEmmanuel Vadot}; 719c66ec88fSEmmanuel Vadot 720c66ec88fSEmmanuel Vadot&tmu2 { 721c66ec88fSEmmanuel Vadot status = "okay"; 722c66ec88fSEmmanuel Vadot}; 723c66ec88fSEmmanuel Vadot 724c66ec88fSEmmanuel Vadot&tmu3 { 725c66ec88fSEmmanuel Vadot status = "okay"; 726c66ec88fSEmmanuel Vadot}; 727c66ec88fSEmmanuel Vadot 728c66ec88fSEmmanuel Vadot&tmu4 { 729c66ec88fSEmmanuel Vadot status = "okay"; 730c66ec88fSEmmanuel Vadot}; 731c66ec88fSEmmanuel Vadot 732c66ec88fSEmmanuel Vadot&usb2_phy0 { 733c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb0_pins>; 734c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 735c66ec88fSEmmanuel Vadot status = "okay"; 736c66ec88fSEmmanuel Vadot}; 737c66ec88fSEmmanuel Vadot 738c66ec88fSEmmanuel Vadot&usb2_phy1 { 739c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb1_pins>; 740c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 741c66ec88fSEmmanuel Vadot status = "okay"; 742c66ec88fSEmmanuel Vadot}; 743c66ec88fSEmmanuel Vadot 744c66ec88fSEmmanuel Vadot&usb3_peri0 { 745c66ec88fSEmmanuel Vadot companion = <&xhci0>; 746c66ec88fSEmmanuel Vadot status = "okay"; 747c66ec88fSEmmanuel Vadot usb-role-switch; 748c66ec88fSEmmanuel Vadot 7495def4c47SEmmanuel Vadot ports { 7505def4c47SEmmanuel Vadot #address-cells = <1>; 7515def4c47SEmmanuel Vadot #size-cells = <0>; 7525def4c47SEmmanuel Vadot port@0 { 7535def4c47SEmmanuel Vadot reg = <0>; 7545def4c47SEmmanuel Vadot usb3_hs_ep: endpoint { 7555def4c47SEmmanuel Vadot remote-endpoint = <&hs_ep>; 7565def4c47SEmmanuel Vadot }; 7575def4c47SEmmanuel Vadot }; 7585def4c47SEmmanuel Vadot port@1 { 7595def4c47SEmmanuel Vadot reg = <1>; 760c66ec88fSEmmanuel Vadot usb3_role_switch: endpoint { 7615def4c47SEmmanuel Vadot remote-endpoint = <&hd3ss3220_out_ep>; 7625def4c47SEmmanuel Vadot }; 763c66ec88fSEmmanuel Vadot }; 764c66ec88fSEmmanuel Vadot }; 765c66ec88fSEmmanuel Vadot}; 766c66ec88fSEmmanuel Vadot 767c66ec88fSEmmanuel Vadot&usb3_phy0 { 768c66ec88fSEmmanuel Vadot status = "okay"; 769c66ec88fSEmmanuel Vadot}; 770c66ec88fSEmmanuel Vadot 771c66ec88fSEmmanuel Vadot&vin0 { 772c66ec88fSEmmanuel Vadot status = "okay"; 773c66ec88fSEmmanuel Vadot}; 774c66ec88fSEmmanuel Vadot&vin1 { 775c66ec88fSEmmanuel Vadot status = "okay"; 776c66ec88fSEmmanuel Vadot}; 777c66ec88fSEmmanuel Vadot&vin2 { 778c66ec88fSEmmanuel Vadot status = "okay"; 779c66ec88fSEmmanuel Vadot}; 780c66ec88fSEmmanuel Vadot&vin3 { 781c66ec88fSEmmanuel Vadot status = "okay"; 782c66ec88fSEmmanuel Vadot}; 783c66ec88fSEmmanuel Vadot&vin4 { 784c66ec88fSEmmanuel Vadot status = "okay"; 785c66ec88fSEmmanuel Vadot}; 786c66ec88fSEmmanuel Vadot&vin5 { 787c66ec88fSEmmanuel Vadot status = "okay"; 788c66ec88fSEmmanuel Vadot}; 789c66ec88fSEmmanuel Vadot&vin6 { 790c66ec88fSEmmanuel Vadot status = "okay"; 791c66ec88fSEmmanuel Vadot}; 792c66ec88fSEmmanuel Vadot&vin7 { 793c66ec88fSEmmanuel Vadot status = "okay"; 794c66ec88fSEmmanuel Vadot}; 795c66ec88fSEmmanuel Vadot 796c66ec88fSEmmanuel Vadot&xhci0 797c66ec88fSEmmanuel Vadot{ 798c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb30_pins>; 799c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 800c66ec88fSEmmanuel Vadot status = "okay"; 801c66ec88fSEmmanuel Vadot}; 802