|
| 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 | + status = "okay"; |
| 20 | + |
| 21 | + panel@0 { |
| 22 | + compatible = "leadtek,ltk500hd1829"; |
| 23 | + reg = <0>; |
| 24 | + backlight = <&backlight>; |
| 25 | + iovcc-supply = <&vcc_1v8>; |
| 26 | + pinctrl-names = "default"; |
| 27 | + pinctrl-0 = <&dsp_rst>; |
| 28 | + reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; |
| 29 | + vcc-supply = <&vcc_2v8>; |
| 30 | + |
| 31 | + port { |
| 32 | + mipi_in_panel: endpoint { |
| 33 | + remote-endpoint = <&mipi_out_panel>; |
| 34 | + }; |
| 35 | + }; |
| 36 | + }; |
| 37 | +}; |
| 38 | + |
| 39 | +&dsi_out { |
| 40 | + mipi_out_panel: endpoint { |
| 41 | + remote-endpoint = <&mipi_in_panel>; |
| 42 | + }; |
| 43 | +}; |
| 44 | + |
| 45 | +&pinctrl { |
| 46 | + pinctrl-names = "default"; |
| 47 | + pinctrl-0 = <&cobra_pin_hog>, <&cobra_proto_hog>; |
| 48 | + |
| 49 | + hog { |
| 50 | + cobra_proto_hog: cobra-proto-hog { |
| 51 | + rockchip,pins = |
| 52 | + /* STUSB4500 open drain outout POWER_OK2, needs pull-up */ |
| 53 | + <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>, |
| 54 | + /* STUSB4500 open drain outout POWER_OK3, needs pull-up */ |
| 55 | + <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; |
| 56 | + }; |
| 57 | + }; |
| 58 | +}; |
| 59 | + |
| 60 | +&sdmmc { |
| 61 | + bus-width = <4>; |
| 62 | + broken-cd; |
| 63 | + cap-sd-highspeed; |
| 64 | + pinctrl-names = "default"; |
| 65 | + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; |
| 66 | + sd-uhs-sdr12; |
| 67 | + sd-uhs-sdr25; |
| 68 | + sd-uhs-sdr50; |
| 69 | + sd-uhs-sdr104; |
| 70 | + vmmc-supply = <&vccio_sd>; |
| 71 | + vqmmc-supply = <&vccio_sd>; |
| 72 | + status = "okay"; |
| 73 | +}; |
0 commit comments