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