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