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>; 200*354d7675SEmmanuel Vadot widgets = "Microphone", "Mic Jack", 201*354d7675SEmmanuel Vadot "Line", "Line In Jack", 202*354d7675SEmmanuel Vadot "Headphone", "Headphone Jack"; 203*354d7675SEmmanuel Vadot mic-det-gpio = <&gpio0 2 GPIO_ACTIVE_LOW>; 204*354d7675SEmmanuel Vadot routing = "Headphone Jack", "HPOUTL", 205*354d7675SEmmanuel Vadot "Headphone Jack", "HPOUTR", 206*354d7675SEmmanuel Vadot "IN3R", "MICBIAS", 207*354d7675SEmmanuel 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 275c66ec88fSEmmanuel Vadot&du_out_rgb { 276c66ec88fSEmmanuel Vadot remote-endpoint = <&rgb_panel>; 277c66ec88fSEmmanuel Vadot}; 278c66ec88fSEmmanuel Vadot 279c66ec88fSEmmanuel Vadot&ehci0 { 280c66ec88fSEmmanuel Vadot dr_mode = "otg"; 281c66ec88fSEmmanuel Vadot status = "okay"; 2825956d97fSEmmanuel Vadot clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; 283c66ec88fSEmmanuel Vadot}; 284c66ec88fSEmmanuel Vadot 285c66ec88fSEmmanuel Vadot&ehci1 { 286c66ec88fSEmmanuel Vadot status = "okay"; 2875956d97fSEmmanuel Vadot clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>; 288c66ec88fSEmmanuel Vadot}; 289c66ec88fSEmmanuel Vadot 290c66ec88fSEmmanuel Vadot&hdmi0 { 291c66ec88fSEmmanuel Vadot status = "okay"; 292c66ec88fSEmmanuel Vadot ports { 293c66ec88fSEmmanuel Vadot #address-cells = <1>; 294c66ec88fSEmmanuel Vadot #size-cells = <0>; 295c66ec88fSEmmanuel Vadot port@0 { 296c66ec88fSEmmanuel Vadot reg = <0>; 297c66ec88fSEmmanuel Vadot dw_hdmi0_in: endpoint { 298c66ec88fSEmmanuel Vadot remote-endpoint = <&du_out_hdmi0>; 299c66ec88fSEmmanuel Vadot }; 300c66ec88fSEmmanuel Vadot }; 301c66ec88fSEmmanuel Vadot port@1 { 302c66ec88fSEmmanuel Vadot reg = <1>; 303c66ec88fSEmmanuel Vadot rcar_dw_hdmi0_out: endpoint { 304c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi0_con>; 305c66ec88fSEmmanuel Vadot }; 306c66ec88fSEmmanuel Vadot }; 307c66ec88fSEmmanuel Vadot port@2 { 308c66ec88fSEmmanuel Vadot reg = <2>; 309c66ec88fSEmmanuel Vadot dw_hdmi0_snd_in: endpoint { 310c66ec88fSEmmanuel Vadot remote-endpoint = <&rsnd_endpoint1>; 311c66ec88fSEmmanuel Vadot }; 312c66ec88fSEmmanuel Vadot }; 313c66ec88fSEmmanuel Vadot }; 314c66ec88fSEmmanuel Vadot}; 315c66ec88fSEmmanuel Vadot 316c66ec88fSEmmanuel Vadot&hscif1 { 317c66ec88fSEmmanuel Vadot pinctrl-0 = <&hscif1_pins>; 318c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 319c66ec88fSEmmanuel Vadot uart-has-rtscts; 320c66ec88fSEmmanuel Vadot status = "okay"; 321c66ec88fSEmmanuel Vadot}; 322c66ec88fSEmmanuel Vadot 323c66ec88fSEmmanuel Vadot&hsusb { 324c66ec88fSEmmanuel Vadot dr_mode = "otg"; 325c66ec88fSEmmanuel Vadot status = "okay"; 326c66ec88fSEmmanuel Vadot}; 327c66ec88fSEmmanuel Vadot 328c66ec88fSEmmanuel Vadot&i2c2 { 329c66ec88fSEmmanuel Vadot status = "okay"; 3305def4c47SEmmanuel Vadot clock-frequency = <400000>; 331c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 332c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 333c66ec88fSEmmanuel Vadot 334c66ec88fSEmmanuel Vadot gpio_exp2: gpio@21 { 335c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 336c66ec88fSEmmanuel Vadot reg = <0x21>; 337c66ec88fSEmmanuel Vadot gpio-controller; 338c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 339c66ec88fSEmmanuel Vadot }; 340c66ec88fSEmmanuel Vadot 341c66ec88fSEmmanuel Vadot gpio_exp3: gpio@22 { 342c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 343c66ec88fSEmmanuel Vadot reg = <0x22>; 344c66ec88fSEmmanuel Vadot gpio-controller; 345c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 346c66ec88fSEmmanuel Vadot }; 347c66ec88fSEmmanuel Vadot 348c66ec88fSEmmanuel Vadot gpio_exp4: gpio@23 { 349c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 350c66ec88fSEmmanuel Vadot reg = <0x23>; 351c66ec88fSEmmanuel Vadot gpio-controller; 352c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 353c66ec88fSEmmanuel Vadot }; 354c66ec88fSEmmanuel Vadot 355c66ec88fSEmmanuel Vadot versaclock6_bb: clock-controller@6a { 356c66ec88fSEmmanuel Vadot compatible = "idt,5p49v6965"; 357c66ec88fSEmmanuel Vadot reg = <0x6a>; 358c66ec88fSEmmanuel Vadot #clock-cells = <1>; 359c66ec88fSEmmanuel Vadot clocks = <&x304_clk>; 360c66ec88fSEmmanuel Vadot clock-names = "xin"; 3615def4c47SEmmanuel Vadot 362c66ec88fSEmmanuel Vadot assigned-clocks = <&versaclock6_bb 1>, 363c66ec88fSEmmanuel Vadot <&versaclock6_bb 2>, 364c66ec88fSEmmanuel Vadot <&versaclock6_bb 3>, 365c66ec88fSEmmanuel Vadot <&versaclock6_bb 4>; 366c66ec88fSEmmanuel Vadot assigned-clock-rates = <24000000>, <24000000>, <24000000>, <24576000>; 3675def4c47SEmmanuel Vadot 3685def4c47SEmmanuel Vadot OUT1 { 3695def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3705def4c47SEmmanuel Vadot idt,voltage-microvolt = <1800000>; 3715def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3725def4c47SEmmanuel Vadot }; 3735def4c47SEmmanuel Vadot 3745def4c47SEmmanuel Vadot OUT2 { 3755def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3765def4c47SEmmanuel Vadot idt,voltage-microvolt = <1800000>; 3775def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3785def4c47SEmmanuel Vadot }; 3795def4c47SEmmanuel Vadot 3805def4c47SEmmanuel Vadot OUT3 { 3815def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3825def4c47SEmmanuel Vadot idt,voltage-microvolt = <3300000>; 3835def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3845def4c47SEmmanuel Vadot }; 3855def4c47SEmmanuel Vadot 3865def4c47SEmmanuel Vadot OUT4 { 3875def4c47SEmmanuel Vadot idt,mode = <VC5_CMOS>; 3885def4c47SEmmanuel Vadot idt,voltage-microvolt = <3300000>; 3895def4c47SEmmanuel Vadot idt,slew-percent = <100>; 3905def4c47SEmmanuel Vadot }; 391c66ec88fSEmmanuel Vadot }; 392c66ec88fSEmmanuel Vadot}; 393c66ec88fSEmmanuel Vadot 394c66ec88fSEmmanuel Vadot&i2c0 { 395c66ec88fSEmmanuel Vadot status = "okay"; 396c66ec88fSEmmanuel Vadot clock-frequency = <400000>; 397c66ec88fSEmmanuel Vadot 398c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 399c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 400c66ec88fSEmmanuel Vadot}; 401c66ec88fSEmmanuel Vadot 402c66ec88fSEmmanuel Vadot&i2c5 { 403c66ec88fSEmmanuel Vadot status = "okay"; 4045def4c47SEmmanuel Vadot clock-frequency = <400000>; 405c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c5_pins>; 406c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 407c66ec88fSEmmanuel Vadot 408c66ec88fSEmmanuel Vadot codec: wm8962@1a { 409c66ec88fSEmmanuel Vadot compatible = "wlf,wm8962"; 410c66ec88fSEmmanuel Vadot reg = <0x1a>; 4115def4c47SEmmanuel Vadot clocks = <&versaclock6_bb 3>; 412c66ec88fSEmmanuel Vadot DCVDD-supply = <®_audio>; 413c66ec88fSEmmanuel Vadot DBVDD-supply = <®_audio>; 414c66ec88fSEmmanuel Vadot AVDD-supply = <®_audio>; 415c66ec88fSEmmanuel Vadot CPVDD-supply = <®_audio>; 416c66ec88fSEmmanuel Vadot MICVDD-supply = <®_audio>; 417c66ec88fSEmmanuel Vadot PLLVDD-supply = <®_audio>; 418c66ec88fSEmmanuel Vadot SPKVDD1-supply = <®_audio>; 419c66ec88fSEmmanuel Vadot SPKVDD2-supply = <®_audio>; 420c66ec88fSEmmanuel Vadot gpio-cfg = < 421c66ec88fSEmmanuel Vadot 0x0000 /* 0:Default */ 422c66ec88fSEmmanuel Vadot 0x0000 /* 1:Default */ 423c66ec88fSEmmanuel Vadot 0x0000 /* 2:Default */ 424c66ec88fSEmmanuel Vadot 0x0000 /* 3:Default */ 425c66ec88fSEmmanuel Vadot 0x0000 /* 4:Default */ 426c66ec88fSEmmanuel Vadot 0x0000 /* 5:Default */ 427c66ec88fSEmmanuel Vadot >; 428c66ec88fSEmmanuel Vadot port { 429c66ec88fSEmmanuel Vadot wm8962_endpoint: endpoint { 430c66ec88fSEmmanuel Vadot remote-endpoint = <&rsnd_endpoint0>; 431c66ec88fSEmmanuel Vadot }; 432c66ec88fSEmmanuel Vadot }; 433c66ec88fSEmmanuel Vadot }; 434c66ec88fSEmmanuel Vadot 435c66ec88fSEmmanuel Vadot /* 0 - lcd_reset */ 436c66ec88fSEmmanuel Vadot /* 1 - lcd_pwr */ 437c66ec88fSEmmanuel Vadot /* 2 - lcd_select */ 438c66ec88fSEmmanuel Vadot /* 3 - backlight-enable */ 439c66ec88fSEmmanuel Vadot /* 4 - Touch_shdwn */ 440c66ec88fSEmmanuel Vadot /* 5 - LCD_H_pol */ 441c66ec88fSEmmanuel Vadot /* 6 - lcd_V_pol */ 442c66ec88fSEmmanuel Vadot gpio_exp1: gpio@20 { 443c66ec88fSEmmanuel Vadot compatible = "onnn,pca9654"; 444c66ec88fSEmmanuel Vadot reg = <0x20>; 445c66ec88fSEmmanuel Vadot gpio-controller; 446c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 447c66ec88fSEmmanuel Vadot }; 448c66ec88fSEmmanuel Vadot 449c66ec88fSEmmanuel Vadot touchscreen@26 { 450c66ec88fSEmmanuel Vadot compatible = "ilitek,ili2117"; 451c66ec88fSEmmanuel Vadot reg = <0x26>; 452c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio5>; 453c66ec88fSEmmanuel Vadot interrupts = <9 IRQ_TYPE_EDGE_RISING>; 454c66ec88fSEmmanuel Vadot wakeup-source; 455c66ec88fSEmmanuel Vadot }; 456c66ec88fSEmmanuel Vadot 457c66ec88fSEmmanuel Vadot hd3ss3220@47 { 458c66ec88fSEmmanuel Vadot compatible = "ti,hd3ss3220"; 459c66ec88fSEmmanuel Vadot reg = <0x47>; 460c66ec88fSEmmanuel Vadot interrupt-parent = <&gpio6>; 461c66ec88fSEmmanuel Vadot interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 462c66ec88fSEmmanuel Vadot 463c66ec88fSEmmanuel Vadot ports { 464c66ec88fSEmmanuel Vadot #address-cells = <1>; 465c66ec88fSEmmanuel Vadot #size-cells = <0>; 4665def4c47SEmmanuel Vadot port@0 { 4675def4c47SEmmanuel Vadot reg = <0>; 4685def4c47SEmmanuel Vadot hd3ss3220_in_ep: endpoint { 4695def4c47SEmmanuel Vadot remote-endpoint = <&ss_ep>; 4705def4c47SEmmanuel Vadot }; 4715def4c47SEmmanuel Vadot }; 472c66ec88fSEmmanuel Vadot port@1 { 473c66ec88fSEmmanuel Vadot reg = <1>; 4745def4c47SEmmanuel Vadot hd3ss3220_out_ep: endpoint { 475c66ec88fSEmmanuel Vadot remote-endpoint = <&usb3_role_switch>; 476c66ec88fSEmmanuel Vadot }; 477c66ec88fSEmmanuel Vadot }; 478c66ec88fSEmmanuel Vadot }; 479c66ec88fSEmmanuel Vadot }; 480c66ec88fSEmmanuel Vadot}; 481c66ec88fSEmmanuel Vadot 482c66ec88fSEmmanuel Vadot&lvds0 { 483c66ec88fSEmmanuel Vadot status = "okay"; 484c66ec88fSEmmanuel Vadot 485c66ec88fSEmmanuel Vadot ports { 486c66ec88fSEmmanuel Vadot port@1 { 487c66ec88fSEmmanuel Vadot lvds0_out: endpoint { 488c66ec88fSEmmanuel Vadot remote-endpoint = <&panel_in>; 489c66ec88fSEmmanuel Vadot }; 490c66ec88fSEmmanuel Vadot }; 491c66ec88fSEmmanuel Vadot }; 492c66ec88fSEmmanuel Vadot}; 493c66ec88fSEmmanuel Vadot 4945def4c47SEmmanuel Vadot&msiof1 { 4955def4c47SEmmanuel Vadot pinctrl-0 = <&msiof1_pins>; 4965def4c47SEmmanuel Vadot pinctrl-names = "default"; 4975def4c47SEmmanuel Vadot status = "okay"; 4985def4c47SEmmanuel Vadot cs-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; 4995def4c47SEmmanuel Vadot}; 5005def4c47SEmmanuel Vadot 501c66ec88fSEmmanuel Vadot&ohci0 { 502c66ec88fSEmmanuel Vadot dr_mode = "otg"; 503c66ec88fSEmmanuel Vadot status = "okay"; 504c66ec88fSEmmanuel Vadot}; 505c66ec88fSEmmanuel Vadot 506c66ec88fSEmmanuel Vadot&ohci1 { 507c66ec88fSEmmanuel Vadot status = "okay"; 508c66ec88fSEmmanuel Vadot}; 509c66ec88fSEmmanuel Vadot 510c66ec88fSEmmanuel Vadot&pciec0 { 511c66ec88fSEmmanuel Vadot status = "okay"; 512c66ec88fSEmmanuel Vadot}; 513c66ec88fSEmmanuel Vadot 514c66ec88fSEmmanuel Vadot&pciec1 { 515c66ec88fSEmmanuel Vadot status = "okay"; 516c66ec88fSEmmanuel Vadot}; 517c66ec88fSEmmanuel Vadot 518c66ec88fSEmmanuel Vadot&pcie_bus_clk { 519c66ec88fSEmmanuel Vadot clock-frequency = <100000000>; 520c66ec88fSEmmanuel Vadot}; 521c66ec88fSEmmanuel Vadot 522c66ec88fSEmmanuel Vadot&pfc { 523c66ec88fSEmmanuel Vadot can0_pins: can0 { 524c66ec88fSEmmanuel Vadot groups = "can0_data_a"; 525c66ec88fSEmmanuel Vadot function = "can0"; 526c66ec88fSEmmanuel Vadot }; 527c66ec88fSEmmanuel Vadot 528c66ec88fSEmmanuel Vadot can1_pins: can1 { 529c66ec88fSEmmanuel Vadot groups = "can1_data"; 530c66ec88fSEmmanuel Vadot function = "can1"; 531c66ec88fSEmmanuel Vadot }; 532c66ec88fSEmmanuel Vadot 533c66ec88fSEmmanuel Vadot du_pins: du { 534c66ec88fSEmmanuel Vadot groups = "du_rgb888", "du_sync", "du_clk_out_1", "du_disp"; 535c66ec88fSEmmanuel Vadot function = "du"; 536c66ec88fSEmmanuel Vadot }; 537c66ec88fSEmmanuel Vadot 538c66ec88fSEmmanuel Vadot i2c2_pins: i2c2 { 539c66ec88fSEmmanuel Vadot groups = "i2c2_a"; 540c66ec88fSEmmanuel Vadot function = "i2c2"; 541c66ec88fSEmmanuel Vadot }; 542c66ec88fSEmmanuel Vadot 543c66ec88fSEmmanuel Vadot i2c5_pins: i2c5 { 544c66ec88fSEmmanuel Vadot groups = "i2c5"; 545c66ec88fSEmmanuel Vadot function = "i2c5"; 546c66ec88fSEmmanuel Vadot }; 547c66ec88fSEmmanuel Vadot 548c66ec88fSEmmanuel Vadot led_pins: leds { 549c66ec88fSEmmanuel Vadot /* GP_0_4 , AVS1, AVS2, GP_7_3 */ 550c66ec88fSEmmanuel Vadot pins = "GP_0_4", "GP_7_0", "GP_7_1", "GP_7_3"; 551c66ec88fSEmmanuel Vadot bias-pull-down; 552c66ec88fSEmmanuel Vadot }; 553c66ec88fSEmmanuel Vadot 5545def4c47SEmmanuel Vadot msiof1_pins: msiof1 { 5555def4c47SEmmanuel Vadot groups = "msiof1_clk_g", "msiof1_rxd_g", "msiof1_txd_g"; 5565def4c47SEmmanuel Vadot function = "msiof1"; 5575def4c47SEmmanuel Vadot }; 5585def4c47SEmmanuel Vadot 559c66ec88fSEmmanuel Vadot pwm0_pins: pwm0 { 560c66ec88fSEmmanuel Vadot groups = "pwm0"; 561c66ec88fSEmmanuel Vadot function = "pwm0"; 562c66ec88fSEmmanuel Vadot }; 563c66ec88fSEmmanuel Vadot 564c66ec88fSEmmanuel Vadot pwm2_pins: pwm2 { 565c66ec88fSEmmanuel Vadot groups = "pwm2_a"; 5665def4c47SEmmanuel Vadot function = "pwm2"; 567c66ec88fSEmmanuel Vadot }; 568c66ec88fSEmmanuel Vadot 569c66ec88fSEmmanuel Vadot sdhi0_pins: sd0 { 570c66ec88fSEmmanuel Vadot groups = "sdhi0_data4", "sdhi0_ctrl"; 571c66ec88fSEmmanuel Vadot function = "sdhi0"; 572c66ec88fSEmmanuel Vadot power-source = <3300>; 573c66ec88fSEmmanuel Vadot }; 574c66ec88fSEmmanuel Vadot 575c66ec88fSEmmanuel Vadot sdhi0_pins_uhs: sd0_uhs { 576c66ec88fSEmmanuel Vadot groups = "sdhi0_data4", "sdhi0_ctrl"; 577c66ec88fSEmmanuel Vadot function = "sdhi0"; 578c66ec88fSEmmanuel Vadot power-source = <1800>; 579c66ec88fSEmmanuel Vadot }; 580c66ec88fSEmmanuel Vadot 581c66ec88fSEmmanuel Vadot sound_pins: sound { 582c66ec88fSEmmanuel Vadot groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; 583c66ec88fSEmmanuel Vadot function = "ssi"; 584c66ec88fSEmmanuel Vadot }; 585c66ec88fSEmmanuel Vadot 586c66ec88fSEmmanuel Vadot sound_clk_pins: sound_clk { 5875def4c47SEmmanuel Vadot groups = "audio_clk_a_a", "audio_clk_b_a"; 588c66ec88fSEmmanuel Vadot function = "audio_clk"; 589c66ec88fSEmmanuel Vadot }; 590c66ec88fSEmmanuel Vadot 591c66ec88fSEmmanuel Vadot usb0_pins: usb0 { 592c66ec88fSEmmanuel Vadot mux { 593c66ec88fSEmmanuel Vadot groups = "usb0"; 594c66ec88fSEmmanuel Vadot function = "usb0"; 595c66ec88fSEmmanuel Vadot }; 596c66ec88fSEmmanuel Vadot }; 597c66ec88fSEmmanuel Vadot 598c66ec88fSEmmanuel Vadot usb1_pins: usb1 { 599c66ec88fSEmmanuel Vadot mux { 600c66ec88fSEmmanuel Vadot groups = "usb1"; 601c66ec88fSEmmanuel Vadot function = "usb1"; 602c66ec88fSEmmanuel Vadot }; 603c66ec88fSEmmanuel Vadot }; 604c66ec88fSEmmanuel Vadot 605c66ec88fSEmmanuel Vadot usb30_pins: usb30 { 606c66ec88fSEmmanuel Vadot mux { 607c66ec88fSEmmanuel Vadot groups = "usb30"; 608c66ec88fSEmmanuel Vadot function = "usb30"; 609c66ec88fSEmmanuel Vadot }; 610c66ec88fSEmmanuel Vadot }; 611c66ec88fSEmmanuel Vadot}; 612c66ec88fSEmmanuel Vadot 613c66ec88fSEmmanuel Vadot&pwm0 { 614c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm0_pins>; 615c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 616c66ec88fSEmmanuel Vadot status = "okay"; 617c66ec88fSEmmanuel Vadot}; 618c66ec88fSEmmanuel Vadot 619c66ec88fSEmmanuel Vadot&pwm2 { 620c66ec88fSEmmanuel Vadot pinctrl-0 = <&pwm2_pins>; 621c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 622c66ec88fSEmmanuel Vadot status = "okay"; 623c66ec88fSEmmanuel Vadot}; 624c66ec88fSEmmanuel Vadot 625c66ec88fSEmmanuel Vadot&rcar_sound { 6262eb4d8dcSEmmanuel Vadot pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 627c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 628c66ec88fSEmmanuel Vadot 629c66ec88fSEmmanuel Vadot /* Single DAI */ 630c66ec88fSEmmanuel Vadot #sound-dai-cells = <0>; 631c66ec88fSEmmanuel Vadot 632c66ec88fSEmmanuel Vadot /* audio_clkout0/1/2/3 */ 633c66ec88fSEmmanuel Vadot #clock-cells = <1>; 634c66ec88fSEmmanuel Vadot clock-frequency = <11289600>; 635c66ec88fSEmmanuel Vadot 636c66ec88fSEmmanuel Vadot status = "okay"; 637c66ec88fSEmmanuel Vadot 638c66ec88fSEmmanuel Vadot ports { 639c66ec88fSEmmanuel Vadot #address-cells = <1>; 640c66ec88fSEmmanuel Vadot #size-cells = <0>; 641c66ec88fSEmmanuel Vadot rsnd_port0: port@0 { 642c66ec88fSEmmanuel Vadot reg = <0>; 643c66ec88fSEmmanuel Vadot rsnd_endpoint0: endpoint { 644c66ec88fSEmmanuel Vadot remote-endpoint = <&wm8962_endpoint>; 645c66ec88fSEmmanuel Vadot 646c66ec88fSEmmanuel Vadot dai-format = "i2s"; 647c66ec88fSEmmanuel Vadot bitclock-master = <&rsnd_endpoint0>; 648c66ec88fSEmmanuel Vadot frame-master = <&rsnd_endpoint0>; 649c66ec88fSEmmanuel Vadot 6502eb4d8dcSEmmanuel Vadot playback = <&ssi1>, <&dvc1>, <&src1>; 651c66ec88fSEmmanuel Vadot capture = <&ssi0>; 652c66ec88fSEmmanuel Vadot }; 653c66ec88fSEmmanuel Vadot }; 654c66ec88fSEmmanuel Vadot rsnd_port1: port@1 { 655c66ec88fSEmmanuel Vadot reg = <0x01>; 656c66ec88fSEmmanuel Vadot rsnd_endpoint1: endpoint { 657c66ec88fSEmmanuel Vadot remote-endpoint = <&dw_hdmi0_snd_in>; 658c66ec88fSEmmanuel Vadot 659c66ec88fSEmmanuel Vadot dai-format = "i2s"; 660c66ec88fSEmmanuel Vadot bitclock-master = <&rsnd_endpoint1>; 661c66ec88fSEmmanuel Vadot frame-master = <&rsnd_endpoint1>; 662c66ec88fSEmmanuel Vadot 663c66ec88fSEmmanuel Vadot playback = <&ssi2>; 664c66ec88fSEmmanuel Vadot }; 665c66ec88fSEmmanuel Vadot }; 666c66ec88fSEmmanuel Vadot }; 667c66ec88fSEmmanuel Vadot}; 668c66ec88fSEmmanuel Vadot 669c66ec88fSEmmanuel Vadot&rwdt { 670c66ec88fSEmmanuel Vadot status = "okay"; 671c66ec88fSEmmanuel Vadot timeout-sec = <60>; 672c66ec88fSEmmanuel Vadot}; 673c66ec88fSEmmanuel Vadot 674c66ec88fSEmmanuel Vadot&scif0 { 675c66ec88fSEmmanuel Vadot pinctrl-0 = <&scif0_pins>; 676c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 677c66ec88fSEmmanuel Vadot status = "okay"; 678c66ec88fSEmmanuel Vadot}; 679c66ec88fSEmmanuel Vadot 680c66ec88fSEmmanuel Vadot&scif5 { 681c66ec88fSEmmanuel Vadot pinctrl-0 = <&scif5_pins>; 682c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 683c66ec88fSEmmanuel Vadot status = "okay"; 684c66ec88fSEmmanuel Vadot}; 685c66ec88fSEmmanuel Vadot 686c66ec88fSEmmanuel Vadot&scif_clk { 687c66ec88fSEmmanuel Vadot clock-frequency = <14745600>; 688c66ec88fSEmmanuel Vadot}; 689c66ec88fSEmmanuel Vadot 690c66ec88fSEmmanuel Vadot&sdhi0 { 691c66ec88fSEmmanuel Vadot pinctrl-0 = <&sdhi0_pins>; 692c66ec88fSEmmanuel Vadot pinctrl-1 = <&sdhi0_pins_uhs>; 693c66ec88fSEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 694c66ec88fSEmmanuel Vadot vmmc-supply = <®_3p3v>; 695c66ec88fSEmmanuel Vadot vqmmc-supply = <&vccq_sdhi0>; 696c66ec88fSEmmanuel Vadot cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 697c66ec88fSEmmanuel Vadot bus-width = <4>; 698c66ec88fSEmmanuel Vadot sd-uhs-sdr50; 699c66ec88fSEmmanuel Vadot sd-uhs-sdr104; 700c66ec88fSEmmanuel Vadot status = "okay"; 701c66ec88fSEmmanuel Vadot}; 702c66ec88fSEmmanuel Vadot 703c66ec88fSEmmanuel Vadot&ssi1 { 704c66ec88fSEmmanuel Vadot shared-pin; 705c66ec88fSEmmanuel Vadot}; 706c66ec88fSEmmanuel Vadot 707c66ec88fSEmmanuel Vadot&tmu0 { 708c66ec88fSEmmanuel Vadot status = "okay"; 709c66ec88fSEmmanuel Vadot}; 710c66ec88fSEmmanuel Vadot 711c66ec88fSEmmanuel Vadot&tmu1 { 712c66ec88fSEmmanuel Vadot status = "okay"; 713c66ec88fSEmmanuel Vadot}; 714c66ec88fSEmmanuel Vadot 715c66ec88fSEmmanuel Vadot&tmu2 { 716c66ec88fSEmmanuel Vadot status = "okay"; 717c66ec88fSEmmanuel Vadot}; 718c66ec88fSEmmanuel Vadot 719c66ec88fSEmmanuel Vadot&tmu3 { 720c66ec88fSEmmanuel Vadot status = "okay"; 721c66ec88fSEmmanuel Vadot}; 722c66ec88fSEmmanuel Vadot 723c66ec88fSEmmanuel Vadot&tmu4 { 724c66ec88fSEmmanuel Vadot status = "okay"; 725c66ec88fSEmmanuel Vadot}; 726c66ec88fSEmmanuel Vadot 727c66ec88fSEmmanuel Vadot&usb2_phy0 { 728c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb0_pins>; 729c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 730c66ec88fSEmmanuel Vadot status = "okay"; 731c66ec88fSEmmanuel Vadot}; 732c66ec88fSEmmanuel Vadot 733c66ec88fSEmmanuel Vadot&usb2_phy1 { 734c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb1_pins>; 735c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 736c66ec88fSEmmanuel Vadot status = "okay"; 737c66ec88fSEmmanuel Vadot}; 738c66ec88fSEmmanuel Vadot 739c66ec88fSEmmanuel Vadot&usb3_peri0 { 740c66ec88fSEmmanuel Vadot companion = <&xhci0>; 741c66ec88fSEmmanuel Vadot status = "okay"; 742c66ec88fSEmmanuel Vadot usb-role-switch; 743c66ec88fSEmmanuel Vadot 7445def4c47SEmmanuel Vadot ports { 7455def4c47SEmmanuel Vadot #address-cells = <1>; 7465def4c47SEmmanuel Vadot #size-cells = <0>; 7475def4c47SEmmanuel Vadot port@0 { 7485def4c47SEmmanuel Vadot reg = <0>; 7495def4c47SEmmanuel Vadot usb3_hs_ep: endpoint { 7505def4c47SEmmanuel Vadot remote-endpoint = <&hs_ep>; 7515def4c47SEmmanuel Vadot }; 7525def4c47SEmmanuel Vadot }; 7535def4c47SEmmanuel Vadot port@1 { 7545def4c47SEmmanuel Vadot reg = <1>; 755c66ec88fSEmmanuel Vadot usb3_role_switch: endpoint { 7565def4c47SEmmanuel Vadot remote-endpoint = <&hd3ss3220_out_ep>; 7575def4c47SEmmanuel Vadot }; 758c66ec88fSEmmanuel Vadot }; 759c66ec88fSEmmanuel Vadot }; 760c66ec88fSEmmanuel Vadot}; 761c66ec88fSEmmanuel Vadot 762c66ec88fSEmmanuel Vadot&usb3_phy0 { 763c66ec88fSEmmanuel Vadot status = "okay"; 764c66ec88fSEmmanuel Vadot}; 765c66ec88fSEmmanuel Vadot 766c66ec88fSEmmanuel Vadot&vin0 { 767c66ec88fSEmmanuel Vadot status = "okay"; 768c66ec88fSEmmanuel Vadot}; 769c66ec88fSEmmanuel Vadot&vin1 { 770c66ec88fSEmmanuel Vadot status = "okay"; 771c66ec88fSEmmanuel Vadot}; 772c66ec88fSEmmanuel Vadot&vin2 { 773c66ec88fSEmmanuel Vadot status = "okay"; 774c66ec88fSEmmanuel Vadot}; 775c66ec88fSEmmanuel Vadot&vin3 { 776c66ec88fSEmmanuel Vadot status = "okay"; 777c66ec88fSEmmanuel Vadot}; 778c66ec88fSEmmanuel Vadot&vin4 { 779c66ec88fSEmmanuel Vadot status = "okay"; 780c66ec88fSEmmanuel Vadot}; 781c66ec88fSEmmanuel Vadot&vin5 { 782c66ec88fSEmmanuel Vadot status = "okay"; 783c66ec88fSEmmanuel Vadot}; 784c66ec88fSEmmanuel Vadot&vin6 { 785c66ec88fSEmmanuel Vadot status = "okay"; 786c66ec88fSEmmanuel Vadot}; 787c66ec88fSEmmanuel Vadot&vin7 { 788c66ec88fSEmmanuel Vadot status = "okay"; 789c66ec88fSEmmanuel Vadot}; 790c66ec88fSEmmanuel Vadot 791c66ec88fSEmmanuel Vadot&xhci0 792c66ec88fSEmmanuel Vadot{ 793c66ec88fSEmmanuel Vadot pinctrl-0 = <&usb30_pins>; 794c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 795c66ec88fSEmmanuel Vadot status = "okay"; 796c66ec88fSEmmanuel Vadot}; 797