mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
arm64: dts: rockchip: rk3588-vehicle: init s66 project dts files
Support two AVM cameras powered by max96712 and max96722. Support i2s1 works with ADSP-21562 in tdm8 format, and i2s3 to bluetooth. Signed-off-by: Cai Wenzhong <cwz@rock-chips.com> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Signed-off-by: Luo Wei <lw@rock-chips.com> Change-Id: Ic766cc17298ef2a03cc362a62e780e24f2ca1060
This commit is contained in:
@@ -192,6 +192,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-toybrick-x0-linux.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v10.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v20.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-evb-v21.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vehicle-s66-v10.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-lp4x-v10.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-lp4x-v10-linux.dtb
|
||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb2-lp5-v10.dtb
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
/ {
|
||||
dummy_codec: dummy-codec {
|
||||
compatible = "rockchip,dummy-codec";
|
||||
#sound-dai-cells = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sound0 {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "rockchip,tdm";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
simple-audio-card,bitclock-master = <&codec_master>;
|
||||
simple-audio-card,frame-master = <&codec_master>;
|
||||
status = "okay";
|
||||
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s1_8ch>;
|
||||
};
|
||||
codec_master: simple-audio-card,codec {
|
||||
sound-dai = <&dummy_codec>;
|
||||
};
|
||||
};
|
||||
|
||||
bt_codec: bt-codec {
|
||||
compatible = "delta,dfbmcs320";
|
||||
#sound-dai-cells = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sound1 {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "rockchip,bt";
|
||||
simple-audio-card,format = "dsp_a";
|
||||
simple-audio-card,bitclock-inversion = <1>;
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
simple-audio-card,cpu {
|
||||
sound-dai = <&i2s3_2ch>;
|
||||
};
|
||||
simple-audio-card,codec {
|
||||
sound-dai = <&bt_codec 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2s1_8ch {
|
||||
pinctrl-0 = <&i2s1m0_lrck
|
||||
&i2s1m0_sclk
|
||||
&i2s1m0_sdi0
|
||||
&i2s1m0_sdi1
|
||||
&i2s1m0_sdo0
|
||||
&i2s1m0_sdo1
|
||||
&i2s1m0_sdo2>;
|
||||
i2s-lrck-gpio = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
tdm-fsync-gpio = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,tdm-multi-lanes;
|
||||
rockchip,tx-lanes = <3>;
|
||||
rockchip,rx-lanes = <2>;
|
||||
rockchip,clk-trcm = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2s3_2ch {
|
||||
assigned-clocks = <&cru CLK_I2S3_2CH>;
|
||||
assigned-clock-parents = <&mclkin_i2s3>;
|
||||
pinctrl-0 = <&i2s3_sdi
|
||||
&i2s3_sdo
|
||||
&i2s3_mclk>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mclkin_i2s3 {
|
||||
clock-frequency = <12288000>;
|
||||
};
|
||||
|
||||
&spi3 {
|
||||
status = "okay";
|
||||
assigned-clocks = <&cru CLK_SPI3>;
|
||||
assigned-clock-rates = <200000000>;
|
||||
num-cs = <2>;
|
||||
pinctrl-0 = <&spi3m2_cs0
|
||||
&spi3m2_cs1
|
||||
&spi3m2_pins>;
|
||||
|
||||
flash: is25lp032@1 {
|
||||
compatible = "issi,is25lp032", "jedec,spi-nor";
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
spi-max-frequency = <5000000>;
|
||||
m25p,fast-read;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,319 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
/ {
|
||||
max96712_osc: max96712-oscillator {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <1>;
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "max96712-osc";
|
||||
};
|
||||
|
||||
max96722_osc: max96722-oscillator {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <1>;
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "max96722-osc";
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* ============================================================================
|
||||
* Inno DPHY0: full mode
|
||||
* ============================================================================
|
||||
*/
|
||||
&csi2_dphy0_hw {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&csi2_dphy0 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_dphy0_in_max96712: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&max96712_out>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
csidphy0_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&mipi2_csi2_input>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi2_csi2 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi2_csi2_input: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&csidphy0_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi2_csi2_output: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&cif_mipi2_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkcif_mipi_lvds2 {
|
||||
status = "okay";
|
||||
/* parameters for do cif reset detecting:
|
||||
* index0: monitor mode,
|
||||
0 for idle,
|
||||
1 for continue,
|
||||
2 for trigger,
|
||||
3 for hotplug (for nextchip)
|
||||
* index1: the frame id to start timer,
|
||||
min is 2
|
||||
* index2: frame num of monitoring cycle
|
||||
* index3: err time for keep monitoring
|
||||
after finding out err (ms)
|
||||
* index4: csi2 err reference val for resetting
|
||||
*/
|
||||
rockchip,cif-monitor = <3 2 1 1000 5>;
|
||||
|
||||
port {
|
||||
cif_mipi2_in: endpoint {
|
||||
remote-endpoint = <&mipi2_csi2_output>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* ============================================================================
|
||||
* Inno DPHY1: full mode
|
||||
* ============================================================================
|
||||
*/
|
||||
&csi2_dphy1_hw {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&csi2_dphy3 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_dphy3_in_max96722: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&max96722_out>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
csidphy3_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&mipi4_csi2_input>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi4_csi2 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi4_csi2_input: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&csidphy3_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi4_csi2_output: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&cif_mipi4_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkcif_mipi_lvds4 {
|
||||
status = "okay";
|
||||
/* parameters for do cif reset detecting:
|
||||
* index0: monitor mode,
|
||||
0 for idle,
|
||||
1 for continue,
|
||||
2 for trigger,
|
||||
3 for hotplug (for nextchip)
|
||||
* index1: the frame id to start timer,
|
||||
min is 2
|
||||
* index2: frame num of monitoring cycle
|
||||
* index3: err time for keep monitoring
|
||||
after finding out err (ms)
|
||||
* index4: csi2 err reference val for resetting
|
||||
*/
|
||||
rockchip,cif-monitor = <3 2 1 1000 5>;
|
||||
|
||||
port {
|
||||
cif_mipi4_in: endpoint {
|
||||
remote-endpoint = <&mipi4_csi2_output>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* =============================================================================
|
||||
* Common
|
||||
* =============================================================================
|
||||
*/
|
||||
&rkcif {
|
||||
status = "okay";
|
||||
rockchip,android-usb-camerahal-enable;
|
||||
};
|
||||
|
||||
&rkcif_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2m4_xfer>;
|
||||
clock-frequency = <400000>;
|
||||
|
||||
// AVM Camera x4
|
||||
max96712: max96712@29 {
|
||||
compatible = "maxim,max96712";
|
||||
status = "okay";
|
||||
reg = <0x29>;
|
||||
clock-names = "xvclk";
|
||||
clocks = <&max96712_osc 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max96712_power>, <&max96712_errb>, <&max96712_lock>;
|
||||
power-domains = <&power RK3588_PD_VI>;
|
||||
rockchip,grf = <&sys_grf>;
|
||||
power-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
|
||||
lock-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
link-mask = <0x0F>;
|
||||
auto-init-deskew-mask = <0x3>;
|
||||
frame-sync-period = <0>;
|
||||
link-rx-rate = <0>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "max96712";
|
||||
rockchip,camera-module-lens-name = "max96712";
|
||||
|
||||
port {
|
||||
max96712_out: endpoint {
|
||||
remote-endpoint = <&mipi_dphy0_in_max96712>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// DMS Camera x1 + OMS Camera x3
|
||||
max96722: max96722@6b {
|
||||
compatible = "maxim,max96722";
|
||||
status = "okay";
|
||||
reg = <0x6b>;
|
||||
clock-names = "xvclk";
|
||||
clocks = <&max96722_osc 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&max96722_power>, <&max96722_errb>, <&max96722_lock>;
|
||||
power-domains = <&power RK3588_PD_VI>;
|
||||
rockchip,grf = <&sys_grf>;
|
||||
power-gpios = <&gpio1 RK_PC7 GPIO_ACTIVE_HIGH>;
|
||||
lock-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||
link-mask = <0x33>;
|
||||
auto-init-deskew-mask = <0x3>;
|
||||
frame-sync-period = <0>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "max96722";
|
||||
rockchip,camera-module-lens-name = "max96722";
|
||||
|
||||
port {
|
||||
max96722_out: endpoint {
|
||||
remote-endpoint = <&mipi_dphy3_in_max96722>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
maxim-cameras {
|
||||
max96712_power: max96712-power {
|
||||
rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
max96712_errb: max96712-errb {
|
||||
rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
max96712_lock: max96712-lock {
|
||||
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
max96722_power: max96722-power {
|
||||
rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
max96722_errb: max96722-errb {
|
||||
rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
max96722_lock: max96722-lock {
|
||||
rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,564 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/display/media-bus-format.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
pinctrl0 = &pinctrl;
|
||||
};
|
||||
|
||||
backlight {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
i2c8_max96755f_backlight: backlight@0 {
|
||||
compatible = "pwm-backlight";
|
||||
reg = <0>;
|
||||
pwms = <&pwm0 0 1000000 0>;
|
||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <6>;
|
||||
};
|
||||
|
||||
i2c8_max96745_1_backlight: backlight@1 {
|
||||
compatible = "pwm-backlight";
|
||||
reg = <0>;
|
||||
pwms = <&pwm1 0 1000000 0>;
|
||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <6>;
|
||||
};
|
||||
|
||||
i2c8_max96745_2_backlight: backlight@2 {
|
||||
compatible = "pwm-backlight";
|
||||
reg = <0>;
|
||||
pwms = <&pwm7 0 1000000 0>;
|
||||
brightness-levels = <0 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <6>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dp0 {
|
||||
//split-mode;
|
||||
force-hpd;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dp0_in_vp0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0 {
|
||||
rockchip,dp-lane-mux = <0 1 2 3>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0_dp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_dp0 {
|
||||
connect = <&vp0_out_dp0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dp1 {
|
||||
force-hpd;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbdp_phy1 {
|
||||
//rockchip,dp-lane-mux = <0 1 2 3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbdp_phy1_dp {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
dsi0_out: endpoint {
|
||||
remote-endpoint = <&i2c8_max96755f_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_dcphy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi0_in_vp2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_dsi0 {
|
||||
connect = <&vp2_out_dsi0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&dsi1 {
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
dsi1_out: endpoint {
|
||||
//remote-endpoint = <&i2c6_max96755f_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_dcphy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi1_in_vp3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_dsi1 {
|
||||
connect = <&vp3_out_dsi1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&edp0 {
|
||||
split-mode;
|
||||
force-hpd;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&edp0_out {
|
||||
link-frequencies = /bits/ 64 <2700000000>;
|
||||
remote-endpoint = <&i2c8_max96745_1_in>;
|
||||
};
|
||||
|
||||
&hdptxphy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&edp0_in_vp1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_edp0 {
|
||||
connect = <&vp1_out_edp0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&edp1 {
|
||||
force-hpd;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&edp1_out {
|
||||
link-frequencies = /bits/ 64 <2700000000>;
|
||||
remote-endpoint = <&i2c8_max96745_2_in>;
|
||||
};
|
||||
|
||||
&hdptxphy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&hdmi1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&hdptxphy_hdmi0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&hdptxphy_hdmi1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
pinctrl-0 = <&i2c8m4_xfer>;
|
||||
clock-frequency = <400000>;
|
||||
status = "okay";
|
||||
|
||||
max96755f@62 {
|
||||
compatible = "maxim,max96755f";
|
||||
reg = <0x62>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_ser1_lock_pins>, <&i2c8_ser1_pwdnb_pins>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pinctrl {
|
||||
compatible = "maxim,max96755f-pinctrl";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96755f_pinctrl_hog>;
|
||||
|
||||
i2c8_max96755f_pinctrl_hog: hog {
|
||||
i2c {
|
||||
groups = "I2C";
|
||||
function = "I2C";
|
||||
};
|
||||
};
|
||||
|
||||
i2c8_max96755f_panel_pins: panel-pins {
|
||||
bl-pwm {
|
||||
pins = "MFP7";
|
||||
function = "GPIO_TX_0";
|
||||
};
|
||||
|
||||
tp-int {
|
||||
pins = "MFP8";
|
||||
function = "GPIO_RX_2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
bridge {
|
||||
compatible = "maxim,max96755f-bridge";
|
||||
lock-gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||
bridge_dual_link;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
i2c8_max96755f_in: endpoint {
|
||||
remote-endpoint = <&dsi0_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
i2c8_max96755f_out: endpoint {
|
||||
remote-endpoint = <&i2c8_max96755f_panel_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gmsl@0 {
|
||||
reg = <0>;
|
||||
clock-frequency = <400000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ts@30 {
|
||||
compatible = "gac,gac_ts";
|
||||
reg = <0x30>;
|
||||
pinctrl-names = "pmx_ts_active","pmx_ts_suspend";
|
||||
pinctrl-0 = <&touch_pin>;
|
||||
pinctrl-1 = <&touch_pin>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
|
||||
gac,max_x = <2560>;
|
||||
gac,max_y = <1440>;
|
||||
};
|
||||
|
||||
panel@48 {
|
||||
compatible = "boe,ae146m1t-l10";
|
||||
reg = <0x48>;
|
||||
backlight = <&i2c8_max96755f_backlight>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96755f_panel_pins>;
|
||||
panel_dual_link;
|
||||
|
||||
panel-timing {
|
||||
clock-frequency = <303000000>;
|
||||
hactive = <2560>;
|
||||
vactive = <1440>;
|
||||
hfront-porch = <122>;
|
||||
hsync-len = <60>;
|
||||
hback-porch = <60>;
|
||||
vfront-porch = <340>;
|
||||
vsync-len = <2>;
|
||||
vback-porch = <20>;
|
||||
hsync-active = <0>;
|
||||
vsync-active = <0>;
|
||||
de-active = <0>;
|
||||
pixelclk-active = <0>;
|
||||
};
|
||||
|
||||
port {
|
||||
i2c8_max96755f_panel_in: endpoint {
|
||||
remote-endpoint = <&i2c8_max96755f_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
|
||||
max96745@42 {
|
||||
compatible = "maxim,max96745";
|
||||
reg = <0x42>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_ser2_lock_pins>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pinctrl {
|
||||
compatible = "maxim,max96745-pinctrl";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96745_1_pinctrl_hog>;
|
||||
|
||||
i2c8_max96745_1_pinctrl_hog: hog {
|
||||
i2c {
|
||||
groups = "I2C";
|
||||
function = "I2C";
|
||||
};
|
||||
};
|
||||
|
||||
i2c8_max96745_1_panel_pins: panel-pins {
|
||||
bl-pwm {
|
||||
pins = "MFP11";
|
||||
function = "GPIO_TX_A_0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
bridge {
|
||||
compatible = "maxim,max96745-bridge";
|
||||
lock-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
i2c8_max96745_1_in: endpoint {
|
||||
remote-endpoint = <&edp0_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
i2c8_max96745_1_out: endpoint {
|
||||
remote-endpoint = <&i2c8_max96745_1_panel_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gmsl@0 {
|
||||
reg = <0>;
|
||||
clock-frequency = <400000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
panel@48 {
|
||||
compatible = "boe,av156fht-l83";
|
||||
reg = <0x48>;
|
||||
backlight = <&i2c8_max96745_1_backlight>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96745_1_panel_pins>;
|
||||
|
||||
panel-timing {
|
||||
clock-frequency = <148500000>;
|
||||
hactive = <1920>;
|
||||
vactive = <1080>;
|
||||
hfront-porch = <20>;
|
||||
hsync-len = <20>;
|
||||
hback-porch = <20>;
|
||||
vfront-porch = <250>;
|
||||
vsync-len = <2>;
|
||||
vback-porch = <8>;
|
||||
hsync-active = <0>;
|
||||
vsync-active = <0>;
|
||||
de-active = <0>;
|
||||
pixelclk-active = <0>;
|
||||
};
|
||||
|
||||
port {
|
||||
i2c8_max96745_1_panel_in: endpoint {
|
||||
remote-endpoint = <&i2c8_max96745_1_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
|
||||
max96745@60 {
|
||||
compatible = "maxim,max96745";
|
||||
reg = <0x60>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_ser3_lock_pins>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pinctrl {
|
||||
compatible = "maxim,max96745-pinctrl";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96745_2_pinctrl_hog>;
|
||||
|
||||
i2c8_max96745_2_pinctrl_hog: hog {
|
||||
i2c {
|
||||
groups = "I2C";
|
||||
function = "I2C";
|
||||
};
|
||||
};
|
||||
|
||||
i2c8_max96745_2_panel_pins: panel-pins {
|
||||
bl-pwm {
|
||||
pins = "MFP11";
|
||||
function = "GPIO_TX_A_0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
bridge {
|
||||
compatible = "maxim,max96745-bridge";
|
||||
lock-gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
i2c8_max96745_2_in: endpoint {
|
||||
remote-endpoint = <&edp1_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
i2c8_max96745_2_out: endpoint {
|
||||
remote-endpoint = <&i2c8_max96745_2_panel_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gmsl@0 {
|
||||
reg = <0>;
|
||||
clock-frequency = <400000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
panel@48 {
|
||||
compatible = "boe,av156fht-l83";
|
||||
reg = <0x48>;
|
||||
backlight = <&i2c8_max96745_2_backlight>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c8_max96745_2_panel_pins>;
|
||||
|
||||
panel-timing {
|
||||
clock-frequency = <148500000>;
|
||||
hactive = <1920>;
|
||||
vactive = <1080>;
|
||||
hfront-porch = <20>;
|
||||
hsync-len = <20>;
|
||||
hback-porch = <20>;
|
||||
vfront-porch = <250>;
|
||||
vsync-len = <2>;
|
||||
vback-porch = <8>;
|
||||
hsync-active = <0>;
|
||||
vsync-active = <0>;
|
||||
de-active = <0>;
|
||||
pixelclk-active = <0>;
|
||||
};
|
||||
|
||||
port {
|
||||
i2c8_max96745_2_panel_in: endpoint {
|
||||
remote-endpoint = <&i2c8_max96745_2_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
serdes {
|
||||
i2c8_ser1_lock_pins: i2c8-ser1-lock-pins {
|
||||
rockchip,pins =
|
||||
<1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser2_lock_pins: i2c8-ser2-lock-pins {
|
||||
rockchip,pins =
|
||||
<3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser3_lock_pins: i2c8-ser3-lock-pins {
|
||||
rockchip,pins =
|
||||
<4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser1_errb_pins: i2c8-ser1-errb-pins {
|
||||
rockchip,pins =
|
||||
<1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser2_errb_pins: i2c8-ser2-errb-pins {
|
||||
rockchip,pins =
|
||||
<3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser3_errb_pins: i2c8-ser3-errb-pins {
|
||||
rockchip,pins =
|
||||
<4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
i2c8_ser1_pwdnb_pins: i2c8-ser1-pwdnb-pins {
|
||||
rockchip,pins =
|
||||
<1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
touch {
|
||||
touch_pin: touch-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pwm0 {
|
||||
pinctrl-0 = <&pwm0m2_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm1 {
|
||||
pinctrl-0 = <&pwm1m1_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm7 {
|
||||
pinctrl-0 = <&pwm7m3_pins>;
|
||||
status = "okay";
|
||||
};
|
||||
89
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66-v10.dts
Normal file
89
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66-v10.dts
Normal file
@@ -0,0 +1,89 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "rk3588-vehicle-s66-v10.dtsi"
|
||||
#include "rk3588-vehicle-adsp-audio-s66.dtsi"
|
||||
#include "rk3588-vehicle-maxim-serdes-display-s66.dtsi"
|
||||
#include "rk3588-vehicle-maxim-cameras-s66.dtsi"
|
||||
#include "rk3588-android.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Rockchip RK3588 VEHICLE S66 Board V10";
|
||||
compatible = "rockchip,rk3588-vehicle-s66-v10", "rockchip,rk3588";
|
||||
};
|
||||
|
||||
&rockchip_suspend {
|
||||
rockchip,sleep-mode-config = <
|
||||
(0
|
||||
| RKPM_SLP_ARMOFF_DDRPD
|
||||
| RKPM_SLP_PMU_PMUALIVE_32K
|
||||
| RKPM_SLP_PMU_DIS_OSC
|
||||
| RKPM_SLP_32K_EXT
|
||||
)
|
||||
>;
|
||||
rockchip,wakeup-config = <
|
||||
(0
|
||||
| RKPM_GPIO_WKUP_EN
|
||||
)
|
||||
>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vdd_log_s0 {
|
||||
regulator-state-mem {
|
||||
regulator-on-in-suspend;
|
||||
regulator-suspend-microvolt = <800000>;
|
||||
};
|
||||
};
|
||||
|
||||
&vcc_3v3_s0 {
|
||||
regulator-state-mem {
|
||||
regulator-on-in-suspend;
|
||||
regulator-suspend-microvolt = <3300000>;
|
||||
};
|
||||
};
|
||||
|
||||
&vcc_1v8_s0 {
|
||||
regulator-state-mem {
|
||||
regulator-on-in-suspend;
|
||||
regulator-suspend-microvolt = <1800000>;
|
||||
};
|
||||
};
|
||||
|
||||
&vccio_sd_s0 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
&vdd_0v75_hdmi_edp_s0 {
|
||||
regulator-min-microvolt = <837500>;
|
||||
regulator-max-microvolt = <837500>;
|
||||
};
|
||||
|
||||
&vdd_cpu_big1_mem_s0 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
&vdd_cpu_big0_mem_s0 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1000000>;
|
||||
};
|
||||
|
||||
&vdd_cpu_lit_mem_s0 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
&vdd_gpu_mem_s0 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-state-mem {
|
||||
regulator-on-in-suspend;
|
||||
};
|
||||
};
|
||||
199
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66-v10.dtsi
Normal file
199
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66-v10.dtsi
Normal file
@@ -0,0 +1,199 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "rk3588m.dtsi"
|
||||
#include "rk3588-vehicle-s66.dtsi"
|
||||
#include "rk3588-rk806-dual.dtsi"
|
||||
/ {
|
||||
pcie20_avdd0v85: pcie20-avdd0v85 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "pcie20_avdd0v85";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <850000>;
|
||||
regulator-max-microvolt = <850000>;
|
||||
vin-supply = <&vdd_0v85_s0>;
|
||||
};
|
||||
|
||||
pcie20_avdd1v8: pcie20-avdd1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "pcie20_avdd1v8";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
vin-supply = <&avcc_1v8_s0>;
|
||||
};
|
||||
|
||||
pcie30_avdd0v75: pcie30-avdd0v75 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "pcie30_avdd0v75";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <750000>;
|
||||
regulator-max-microvolt = <750000>;
|
||||
vin-supply = <&avdd_0v75_s0>;
|
||||
};
|
||||
|
||||
pcie30_avdd1v8: pcie30-avdd1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "pcie30_avdd1v8";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
vin-supply = <&avcc_1v8_s0>;
|
||||
};
|
||||
|
||||
vcc5v0_host: vcc5v0-host {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
enable-active-high;
|
||||
//gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
vin-supply = <&vcc5v0_usb>;
|
||||
//pinctrl-names = "default";
|
||||
//pinctrl-0 = <&vcc5v0_host_en>;
|
||||
//TODO: should powered by MCU
|
||||
};
|
||||
};
|
||||
|
||||
&combphy0_ps {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&combphy1_ps {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&combphy2_psu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gmac0 {
|
||||
/* Use rgmii-rxid mode to disable rx delay inside Soc */
|
||||
phy-mode = "rgmii-rxid";
|
||||
clock_in_out = "output";
|
||||
snps,reset-gpio = <&gpio2 RK_PC5 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-active-low;
|
||||
/* Reset time is 20ms, 100ms for rtl8211f */
|
||||
snps,reset-delays-us = <0 20000 100000>;
|
||||
pinctrl-0 = <&gmac0_miim
|
||||
&gmac0_tx_bus2
|
||||
&gmac0_rx_bus2
|
||||
&gmac0_rgmii_clk
|
||||
&gmac0_rgmii_bus>;
|
||||
tx_delay = <0x43>;
|
||||
//rx_delay = <0x3f>;
|
||||
phy-handle = <&rgmii_phy>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
//todo, add gyro IAM20680
|
||||
//todo, add mfi
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c4m0_xfer>;
|
||||
//todo, add LT9211
|
||||
};
|
||||
|
||||
&mdio0 {
|
||||
rgmii_phy: phy@1 {
|
||||
compatible = "ethernet-phy-ieee802.3-c22";
|
||||
reg = <0x1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie2x1l0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pcie2x1l1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pcie2x1l2 {
|
||||
rockchip,skip-scan-in-resume;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie30phy {
|
||||
rockchip,pcie30-phymode = <PHY_MODE_PCIE_NABIBI>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pcie3x4 {
|
||||
num-lanes = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&sata0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&sdmmc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&u2phy1_otg {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
&u2phy2_host {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
&u2phy3_host {
|
||||
phy-supply = <&vcc5v0_host>;
|
||||
};
|
||||
|
||||
&usbdp_phy0 {
|
||||
rockchip,dp-lane-mux = <2 3>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0_dp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0_u3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy1 {
|
||||
rockchip,dp-lane-mux = <3 2 1 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbdp_phy1_dp {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbdp_phy1_u3 {
|
||||
maximum-speed = "high-speed";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
dr_mode = "peripheral";
|
||||
maximum-speed = "high-speed";
|
||||
extcon = <&u2phy0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_1 {
|
||||
dr_mode = "host";
|
||||
maximum-speed = "high-speed";
|
||||
snps,dis_u2_susphy_quirk;
|
||||
status = "okay";
|
||||
};
|
||||
434
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66.dtsi
Normal file
434
arch/arm64/boot/dts/rockchip/rk3588-vehicle-s66.dtsi
Normal file
@@ -0,0 +1,434 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/display/drm_mipi_dsi.h>
|
||||
#include <dt-bindings/display/rockchip_vop.h>
|
||||
#include <dt-bindings/sensor-dev.h>
|
||||
/ {
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
brightness-levels = <
|
||||
0 20 20 21 21 22 22 23
|
||||
23 24 24 25 25 26 26 27
|
||||
27 28 28 29 29 30 30 31
|
||||
31 32 32 33 33 34 34 35
|
||||
35 36 36 37 37 38 38 39
|
||||
40 41 42 43 44 45 46 47
|
||||
48 49 50 51 52 53 54 55
|
||||
56 57 58 59 60 61 62 63
|
||||
64 65 66 67 68 69 70 71
|
||||
72 73 74 75 76 77 78 79
|
||||
80 81 82 83 84 85 86 87
|
||||
88 89 90 91 92 93 94 95
|
||||
96 97 98 99 100 101 102 103
|
||||
104 105 106 107 108 109 110 111
|
||||
112 113 114 115 116 117 118 119
|
||||
120 121 122 123 124 125 126 127
|
||||
128 129 130 131 132 133 134 135
|
||||
136 137 138 139 140 141 142 143
|
||||
144 145 146 147 148 149 150 151
|
||||
152 153 154 155 156 157 158 159
|
||||
160 161 162 163 164 165 166 167
|
||||
168 169 170 171 172 173 174 175
|
||||
176 177 178 179 180 181 182 183
|
||||
184 185 186 187 188 189 190 191
|
||||
192 193 194 195 196 197 198 199
|
||||
200 201 202 203 204 205 206 207
|
||||
208 209 210 211 212 213 214 215
|
||||
216 217 218 219 220 221 222 223
|
||||
224 225 226 227 228 229 230 231
|
||||
232 233 234 235 236 237 238 239
|
||||
240 241 242 243 244 245 246 247
|
||||
248 249 250 251 252 253 254 255
|
||||
>;
|
||||
default-brightness-level = <200>;
|
||||
};
|
||||
|
||||
test-power {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
vcc12v_dcin: vcc12v-dcin {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc12v_dcin";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <12000000>;
|
||||
regulator-max-microvolt = <12000000>;
|
||||
};
|
||||
|
||||
vcc5v0_sys: vcc5v0-sys {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_sys";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
vin-supply = <&vcc12v_dcin>;
|
||||
};
|
||||
|
||||
vcc5v0_usbdcin: vcc5v0-usbdcin {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_usbdcin";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
vin-supply = <&vcc12v_dcin>;
|
||||
};
|
||||
|
||||
vcc5v0_usb: vcc5v0-usb {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc5v0_usb";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
vin-supply = <&vcc5v0_usbdcin>;
|
||||
};
|
||||
};
|
||||
|
||||
&av1d_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&cpu_l0 {
|
||||
cpu-supply = <&vdd_cpu_lit_s0>;
|
||||
mem-supply = <&vdd_cpu_lit_s0>;
|
||||
};
|
||||
|
||||
&cpu_b0 {
|
||||
cpu-supply = <&vdd_cpu_big0_s0>;
|
||||
mem-supply = <&vdd_cpu_big0_s0>;
|
||||
};
|
||||
|
||||
&cpu_b2 {
|
||||
cpu-supply = <&vdd_cpu_big1_s0>;
|
||||
mem-supply = <&vdd_cpu_big1_s0>;
|
||||
};
|
||||
|
||||
&gpu {
|
||||
mali-supply = <&vdd_gpu_s0>;
|
||||
mem-supply = <&vdd_gpu_s0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2s0_8ch {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&iep {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iep_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpegd {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpegd_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege_ccu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege0_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege1_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege2_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&jpege3_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mpp_srv {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rga3_core0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rga3_0_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rga3_core1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rga3_1_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rga2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rknpu {
|
||||
rknpu-supply = <&vdd_npu_s0>;
|
||||
mem-supply = <&vdd_npu_s0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rknpu_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvdec_ccu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvdec0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvdec0_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvdec1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvdec1_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvenc_ccu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvenc0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvenc0_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvenc1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkvenc1_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rockchip_suspend {
|
||||
status = "okay";
|
||||
rockchip,sleep-debug-en = <1>;
|
||||
};
|
||||
|
||||
&saradc {
|
||||
status = "okay";
|
||||
vref-supply = <&vcc_1v8_s0>;
|
||||
};
|
||||
|
||||
&sdhci {
|
||||
bus-width = <8>;
|
||||
no-sdio;
|
||||
no-sd;
|
||||
non-removable;
|
||||
max-frequency = <200000000>;
|
||||
mmc-hs400-1_8v;
|
||||
mmc-hs400-enhanced-strobe;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdmmc {
|
||||
max-frequency = <150000000>;
|
||||
no-sdio;
|
||||
no-mmc;
|
||||
bus-width = <4>;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
disable-wp;
|
||||
sd-uhs-sdr104;
|
||||
vqmmc-supply = <&vccio_sd_s0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&tsadc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy0_otg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy1_otg {
|
||||
rockchip,sel-pipe-phystatus;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy2_host {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy3_host {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_host0_ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_host0_ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_host1_ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_host1_ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0 {
|
||||
rockchip,dp-lane-mux = <2 3>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy0_dp {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbdp_phy0_u3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy1_dp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdp_phy1_u3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd3_0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
dr_mode = "otg";
|
||||
extcon=<&u2phy0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbhost3_0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbhost_dwc3_0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd3_1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbdrd_dwc3_1 {
|
||||
dr_mode = "host";
|
||||
maximum-speed = "high-speed";
|
||||
phys = <&u2phy1_otg>;
|
||||
phy-names = "usb2-phy";
|
||||
snps,dis_u2_susphy_quirk;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vdpu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vdpu_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vepu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vop {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&vop_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* vp0 & vp1 splice for 8K output */
|
||||
&vp0 {
|
||||
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>;
|
||||
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART0>;
|
||||
};
|
||||
|
||||
&vp1 {
|
||||
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>;
|
||||
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART1>;
|
||||
};
|
||||
|
||||
&vp2 {
|
||||
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER2 | 1 << ROCKCHIP_VOP2_ESMART2)>;
|
||||
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART2>;
|
||||
};
|
||||
|
||||
&vp3 {
|
||||
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER3 | 1 << ROCKCHIP_VOP2_ESMART3)>;
|
||||
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART3>;
|
||||
};
|
||||
Reference in New Issue
Block a user