1*8ccc0d23SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*8ccc0d23SEmmanuel Vadot 3*8ccc0d23SEmmanuel Vadot/dts-v1/; 4*8ccc0d23SEmmanuel Vadot 5*8ccc0d23SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 6*8ccc0d23SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h> 7*8ccc0d23SEmmanuel Vadot#include <dt-bindings/pwm/pwm.h> 8*8ccc0d23SEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h> 9*8ccc0d23SEmmanuel Vadot#include "rk3588-orangepi-5-compact.dtsi" 10*8ccc0d23SEmmanuel Vadot 11*8ccc0d23SEmmanuel Vadot/ { 12*8ccc0d23SEmmanuel Vadot model = "Xunlong Orange Pi 5 Ultra"; 13*8ccc0d23SEmmanuel Vadot compatible = "xunlong,orangepi-5-ultra", "rockchip,rk3588"; 14*8ccc0d23SEmmanuel Vadot 15*8ccc0d23SEmmanuel Vadot hdmi1-con { 16*8ccc0d23SEmmanuel Vadot compatible = "hdmi-connector"; 17*8ccc0d23SEmmanuel Vadot type = "a"; 18*8ccc0d23SEmmanuel Vadot 19*8ccc0d23SEmmanuel Vadot port { 20*8ccc0d23SEmmanuel Vadot hdmi1_con_in: endpoint { 21*8ccc0d23SEmmanuel Vadot remote-endpoint = <&hdmi1_out_con>; 22*8ccc0d23SEmmanuel Vadot }; 23*8ccc0d23SEmmanuel Vadot }; 24*8ccc0d23SEmmanuel Vadot }; 25*8ccc0d23SEmmanuel Vadot}; 26*8ccc0d23SEmmanuel Vadot 27*8ccc0d23SEmmanuel Vadot&hdmi1 { 28*8ccc0d23SEmmanuel Vadot pinctrl-names = "default"; 29*8ccc0d23SEmmanuel Vadot pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd 30*8ccc0d23SEmmanuel Vadot &hdmim1_tx1_scl &hdmim1_tx1_sda>; 31*8ccc0d23SEmmanuel Vadot status = "okay"; 32*8ccc0d23SEmmanuel Vadot}; 33*8ccc0d23SEmmanuel Vadot 34*8ccc0d23SEmmanuel Vadot&hdmi1_in { 35*8ccc0d23SEmmanuel Vadot hdmi1_in_vp0: endpoint { 36*8ccc0d23SEmmanuel Vadot remote-endpoint = <&vp0_out_hdmi1>; 37*8ccc0d23SEmmanuel Vadot }; 38*8ccc0d23SEmmanuel Vadot}; 39*8ccc0d23SEmmanuel Vadot 40*8ccc0d23SEmmanuel Vadot&hdmi1_out { 41*8ccc0d23SEmmanuel Vadot hdmi1_out_con: endpoint { 42*8ccc0d23SEmmanuel Vadot remote-endpoint = <&hdmi1_con_in>; 43*8ccc0d23SEmmanuel Vadot }; 44*8ccc0d23SEmmanuel Vadot}; 45*8ccc0d23SEmmanuel Vadot 46*8ccc0d23SEmmanuel Vadot&hdmi1_sound { 47*8ccc0d23SEmmanuel Vadot status = "okay"; 48*8ccc0d23SEmmanuel Vadot}; 49*8ccc0d23SEmmanuel Vadot 50*8ccc0d23SEmmanuel Vadot&hdptxphy1 { 51*8ccc0d23SEmmanuel Vadot status = "okay"; 52*8ccc0d23SEmmanuel Vadot}; 53*8ccc0d23SEmmanuel Vadot 54*8ccc0d23SEmmanuel Vadot&i2s6_8ch { 55*8ccc0d23SEmmanuel Vadot status = "okay"; 56*8ccc0d23SEmmanuel Vadot}; 57*8ccc0d23SEmmanuel Vadot 58*8ccc0d23SEmmanuel Vadot&led_blue_pwm { 59*8ccc0d23SEmmanuel Vadot pwms = <&pwm4 0 25000 PWM_POLARITY_INVERTED>; 60*8ccc0d23SEmmanuel Vadot}; 61*8ccc0d23SEmmanuel Vadot 62*8ccc0d23SEmmanuel Vadot&led_green_pwm { 63*8ccc0d23SEmmanuel Vadot pwms = <&pwm5 0 25000 PWM_POLARITY_INVERTED>; 64*8ccc0d23SEmmanuel Vadot}; 65*8ccc0d23SEmmanuel Vadot 66*8ccc0d23SEmmanuel Vadot&pinctrl { 67*8ccc0d23SEmmanuel Vadot usb { 68*8ccc0d23SEmmanuel Vadot usb_otg_pwren: usb-otg-pwren { 69*8ccc0d23SEmmanuel Vadot rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 70*8ccc0d23SEmmanuel Vadot }; 71*8ccc0d23SEmmanuel Vadot }; 72*8ccc0d23SEmmanuel Vadot}; 73*8ccc0d23SEmmanuel Vadot 74*8ccc0d23SEmmanuel Vadot&vcc5v0_usb30_otg { 75*8ccc0d23SEmmanuel Vadot gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>; 76*8ccc0d23SEmmanuel Vadot}; 77*8ccc0d23SEmmanuel Vadot 78*8ccc0d23SEmmanuel Vadot&vp0 { 79*8ccc0d23SEmmanuel Vadot vp0_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { 80*8ccc0d23SEmmanuel Vadot reg = <ROCKCHIP_VOP2_EP_HDMI1>; 81*8ccc0d23SEmmanuel Vadot remote-endpoint = <&hdmi1_in_vp0>; 82*8ccc0d23SEmmanuel Vadot }; 83*8ccc0d23SEmmanuel Vadot}; 84