1ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2ae5de77eSEmmanuel Vadot 3ae5de77eSEmmanuel Vadot/dts-v1/; 4ae5de77eSEmmanuel Vadot 5*833e5d42SEmmanuel Vadot#include "rk3588-rock-5b-5bp-5t.dtsi" 6ae5de77eSEmmanuel Vadot 7ae5de77eSEmmanuel Vadot/ { 8ae5de77eSEmmanuel Vadot analog-sound { 9ae5de77eSEmmanuel Vadot compatible = "audio-graph-card"; 10ae5de77eSEmmanuel Vadot label = "rk3588-es8316"; 11ae5de77eSEmmanuel Vadot 12ae5de77eSEmmanuel Vadot widgets = "Microphone", "Mic Jack", 13ae5de77eSEmmanuel Vadot "Headphone", "Headphones"; 14ae5de77eSEmmanuel Vadot 15ae5de77eSEmmanuel Vadot routing = "MIC2", "Mic Jack", 16ae5de77eSEmmanuel Vadot "Headphones", "HPOL", 17ae5de77eSEmmanuel Vadot "Headphones", "HPOR"; 18ae5de77eSEmmanuel Vadot 19ae5de77eSEmmanuel Vadot dais = <&i2s0_8ch_p0>; 20ae5de77eSEmmanuel Vadot hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 21ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 22ae5de77eSEmmanuel Vadot pinctrl-0 = <&hp_detect>; 23ae5de77eSEmmanuel Vadot }; 24ae5de77eSEmmanuel Vadot 25ae5de77eSEmmanuel Vadot leds { 26ae5de77eSEmmanuel Vadot compatible = "gpio-leds"; 27ae5de77eSEmmanuel Vadot pinctrl-names = "default"; 28ae5de77eSEmmanuel Vadot pinctrl-0 = <&led_rgb_b>; 29ae5de77eSEmmanuel Vadot 30ae5de77eSEmmanuel Vadot led_rgb_b { 31ae5de77eSEmmanuel Vadot function = LED_FUNCTION_STATUS; 32ae5de77eSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 33ae5de77eSEmmanuel Vadot gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; 34ae5de77eSEmmanuel Vadot linux,default-trigger = "heartbeat"; 35ae5de77eSEmmanuel Vadot }; 36ae5de77eSEmmanuel Vadot }; 37ae5de77eSEmmanuel Vadot 38ae5de77eSEmmanuel Vadot rfkill { 39ae5de77eSEmmanuel Vadot compatible = "rfkill-gpio"; 40ae5de77eSEmmanuel Vadot label = "rfkill-m2-wlan"; 41ae5de77eSEmmanuel Vadot radio-type = "wlan"; 42ae5de77eSEmmanuel Vadot shutdown-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; 43ae5de77eSEmmanuel Vadot }; 44ae5de77eSEmmanuel Vadot}; 45ae5de77eSEmmanuel Vadot 46ae5de77eSEmmanuel Vadot&hdmi_receiver { 47ae5de77eSEmmanuel Vadot hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>; 48ae5de77eSEmmanuel Vadot status = "okay"; 49ae5de77eSEmmanuel Vadot}; 50ae5de77eSEmmanuel Vadot 51ae5de77eSEmmanuel Vadot&pinctrl { 52ae5de77eSEmmanuel Vadot hdmirx { 53ae5de77eSEmmanuel Vadot hdmirx_hpd: hdmirx-5v-detection { 54ae5de77eSEmmanuel Vadot rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 55ae5de77eSEmmanuel Vadot }; 56ae5de77eSEmmanuel Vadot }; 57ae5de77eSEmmanuel Vadot 58ae5de77eSEmmanuel Vadot leds { 59ae5de77eSEmmanuel Vadot led_rgb_b: led-rgb-b { 60ae5de77eSEmmanuel Vadot rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 61ae5de77eSEmmanuel Vadot }; 62ae5de77eSEmmanuel Vadot }; 63ae5de77eSEmmanuel Vadot 64*833e5d42SEmmanuel Vadot pcie2 { 65*833e5d42SEmmanuel Vadot pcie2_0_vcc3v3_en: pcie2-0-vcc-en { 66*833e5d42SEmmanuel Vadot rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 67*833e5d42SEmmanuel Vadot }; 68*833e5d42SEmmanuel Vadot }; 69*833e5d42SEmmanuel Vadot 70ae5de77eSEmmanuel Vadot sound { 71ae5de77eSEmmanuel Vadot hp_detect: hp-detect { 72ae5de77eSEmmanuel Vadot rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 73ae5de77eSEmmanuel Vadot }; 74ae5de77eSEmmanuel Vadot }; 75ae5de77eSEmmanuel Vadot}; 76ae5de77eSEmmanuel Vadot 77ae5de77eSEmmanuel Vadot&usb_host2_xhci { 78ae5de77eSEmmanuel Vadot status = "okay"; 79ae5de77eSEmmanuel Vadot}; 80ae5de77eSEmmanuel Vadot 81*833e5d42SEmmanuel Vadot&vcc3v3_pcie2x1l0 { 82*833e5d42SEmmanuel Vadot gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; 83*833e5d42SEmmanuel Vadot pinctrl-names = "default"; 84*833e5d42SEmmanuel Vadot pinctrl-0 = <&pcie2_0_vcc3v3_en>; 85ae5de77eSEmmanuel Vadot status = "okay"; 86ae5de77eSEmmanuel Vadot}; 87