1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2025 Cherry Embedded Solutions GmbH 4 */ 5 6/dts-v1/; 7#include "px30-cobra.dtsi" 8 9/ { 10 model = "Theobroma Systems Cobra prototype with LTK500HD1829 Display"; 11 compatible = "tsd,px30-cobra-ltk500hd1829", "tsd,px30-cobra", "rockchip,px30"; 12 13 aliases { 14 mmc1 = &sdmmc; 15 }; 16}; 17 18&dsi { 19 #address-cells = <1>; 20 #size-cells = <0>; 21 status = "okay"; 22 23 panel@0 { 24 compatible = "leadtek,ltk500hd1829"; 25 reg = <0>; 26 backlight = <&backlight>; 27 iovcc-supply = <&vcc_1v8>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&dsp_rst>; 30 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 31 vcc-supply = <&vcc_2v8>; 32 33 port { 34 mipi_in_panel: endpoint { 35 remote-endpoint = <&mipi_out_panel>; 36 }; 37 }; 38 }; 39}; 40 41&dsi_out { 42 mipi_out_panel: endpoint { 43 remote-endpoint = <&mipi_in_panel>; 44 }; 45}; 46 47&pinctrl { 48 pinctrl-names = "default"; 49 pinctrl-0 = <&cobra_pin_hog>, <&cobra_proto_hog>; 50 51 hog { 52 cobra_proto_hog: cobra-proto-hog { 53 rockchip,pins = 54 /* STUSB4500 open drain outout POWER_OK2, needs pull-up */ 55 <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>, 56 /* STUSB4500 open drain outout POWER_OK3, needs pull-up */ 57 <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 58 }; 59 }; 60}; 61 62&sdmmc { 63 bus-width = <4>; 64 broken-cd; 65 cap-sd-highspeed; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; 68 sd-uhs-sdr12; 69 sd-uhs-sdr25; 70 sd-uhs-sdr50; 71 sd-uhs-sdr104; 72 vmmc-supply = <&vccio_sd>; 73 vqmmc-supply = <&vccio_sd>; 74 status = "okay"; 75}; 76