2189 lines
43 KiB
Plaintext
2189 lines
43 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "th1520.dtsi"
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/linux-event-codes.h>
|
|
|
|
/ {
|
|
model = "A200 DEV configuration";
|
|
compatible = "sipeed,lichee-pi-4a", "sipeed,lichee-module-4a", "thead,th1520", "thead,light", "zhihe,a200-evb";
|
|
|
|
aliases {
|
|
vivcam3 = &vvcam_sensor3;
|
|
viv_video2 = &video2;
|
|
viv_video3 = &video3;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x200000 0x1 0xffe00000>;
|
|
};
|
|
|
|
lcd0_backlight: pwm-backlight@0 {
|
|
compatible = "pwm-backlight";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&lcd0_bl_pins>;
|
|
pwms = <&pwm 0 5000000 0>;
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <7>;
|
|
};
|
|
|
|
lcd1_backlight: pwm-backlight@1 {
|
|
compatible = "pwm-backlight";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&lcd1_bl_pins>;
|
|
pwms = <&pwm 1 5000000 0>;
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <7>;
|
|
};
|
|
|
|
th1520_iopmp: iopmp {
|
|
compatible = "xuantie,th1520-iopmp";
|
|
|
|
/* config#1: multiple valid regions */
|
|
iopmp_emmc: IOPMP_EMMC {
|
|
attr = <0xFFFFFFFF>;
|
|
is_default_region;
|
|
};
|
|
|
|
/* config#2: iopmp bypass */
|
|
iopmp_sdio0: IOPMP_SDIO0 {
|
|
bypass_en;
|
|
};
|
|
|
|
/* config#3: iopmp default region set */
|
|
iopmp_sdio1: IOPMP_SDIO1 {
|
|
attr = <0xFFFFFFFF>;
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_usb0: IOPMP_USB0 {
|
|
attr = <0xFFFFFFFF>;
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_ao: IOPMP_AO {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_aud: IOPMP_AUD {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_chip_dbg: IOPMP_CHIP_DBG {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_eip120i: IOPMP_EIP120I {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_eip120ii: IOPMP_EIP120II {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_eip120iii: IOPMP_EIP120III {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_isp0: IOPMP_ISP0 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_isp1: IOPMP_ISP1 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_dw200: IOPMP_DW200 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_vipre: IOPMP_VIPRE {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_venc: IOPMP_VENC {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_vdec: IOPMP_VDEC {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_g2d: IOPMP_G2D {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_fce: IOPMP_FCE {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_npu: IOPMP_NPU {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp0_dpu: IOPMP0_DPU {
|
|
bypass_en;
|
|
};
|
|
|
|
iopmp1_dpu: IOPMP1_DPU {
|
|
bypass_en;
|
|
};
|
|
|
|
iopmp_gpu: IOPMP_GPU {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_gmac1: IOPMP_GMAC1 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_gmac2: IOPMP_GMAC2 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_dmac: IOPMP_DMAC {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_tee_dmac: IOPMP_TEE_DMAC {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_dsp0: IOPMP_DSP0 {
|
|
is_default_region;
|
|
};
|
|
|
|
iopmp_dsp1: IOPMP_DSP1 {
|
|
is_default_region;
|
|
};
|
|
};
|
|
|
|
pmp_sec_regions: pmp-sec-regions {
|
|
compatible = "xuantie,th1520-pmp";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
trust_firmware_region: tf-region {
|
|
reg = <0x00 0x00 0x00 0x200000>;
|
|
};
|
|
|
|
tee_os_region: tee-os-region {
|
|
reg = <0x00 0xFF000000 0x00 0x1000000>;
|
|
};
|
|
|
|
tee_sys_region: tee-sys-region {
|
|
reg = <0xFF 0xFF200000 0x00 0x100000>;
|
|
};
|
|
|
|
other_sys_region: other-sys-region {
|
|
reg = <0xFF 0xFF400000 0x00 0xC00000>;
|
|
};
|
|
};
|
|
|
|
reg_tp0_pwr: regulator-tp0-pwr {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "tp0-pwr";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
gpio = <&ioexp3 4 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_hub_1v2: regulator-hub-1v2 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "HUB_1V2";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_hub_5v: regulator-hub-5v {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "HUB_5V";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&gpio0 20 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vcc5v_usb: regulator-vcc5v-usb {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VCC5V_USB";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vdd33_lcd0: regulator-vdd33-lcd0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "lcd0_vdd33";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vdd18_lcd0: regulator-vdd18-lcd0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "lcd0_vdd18";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vdd_3v3: regulator-vdd-3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd_3v3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&aogpio 7 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vdd_5v: reg_vdd_5v {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd_5v";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&aogpio 11 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_vref_1v8: regulator-adc-verf {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vref-1v8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
vin-supply = <®_vdd_3v3>;
|
|
};
|
|
|
|
reg_aud_adc_3v3: regulator-aud-adc-3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "aud_adc_3v3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&aud_ioexp 0 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_aud_adc_1v8: regulator-aud-adc-1v8 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "aud_adc_1v8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&aud_ioexp 1 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_aud_3v3: regulator-aud-3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "aud_3v3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_aud_1v8: regulator-aud-1v8 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "aud_1v8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&gpio4 18 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_wifi_1v8: regulator-reg_wifi-1v8 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "wifi_1v8";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_wifi_3v3: regulator-reg_wifi_3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "wifi_3v3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
fan_en: fan_en {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fan_en";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&aogpio 9 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
regulator-always-on;
|
|
};
|
|
|
|
reg_cam0_dvdd12: regulator-cam0-dvdd12 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "dvdd12_cam0";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
gpio = <&ioexp1 0 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
|
|
reg_cam0_avdd28: regulator-cam0-avdd28 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "avdd28_cam0";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
gpio = <&ioexp1 1 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
|
|
reg_cam0_dovdd18: regulator-cam0-dovdd18 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "dovdd18_cam0";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
gpio = <&ioexp1 2 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
|
|
mbox_910t_client2: mbox_910t_client2 {
|
|
compatible = "xuantie,th1520-mbox-client";
|
|
mbox-names = "906";
|
|
mboxes = <&mbox_910t 2 0>;
|
|
audio-mbox-regmap = <&audio_mbox>;
|
|
status = "okay";
|
|
};
|
|
|
|
th1520_rpmsg: th1520_rpmsg {
|
|
compatible = "th1520,rpmsg-bus", "simple-bus";
|
|
memory-region = <&rpmsgmem>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
rpmsg: rpmsg{
|
|
vdev-nums = <1>;
|
|
reg = <0x0 0x1E000000 0 0x10000>;
|
|
compatible = "th1520,th1520-rpmsg";
|
|
log-memory-region = <&audio_log_mem>;
|
|
audio-text-memory-region = <&audio_text_mem>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
hdmi_codec: hdmi_codec@1 {
|
|
#sound-dai-cells = <0>;
|
|
compatible = "xuantie,th1520-hdmi-pcm";
|
|
sound-name-prefix = "DUMMY";
|
|
status = "okay";
|
|
};
|
|
|
|
th1520_sound: soundcard@1 {
|
|
compatible = "simple-audio-card";
|
|
simple-audio-card,name = "TH1520-Sound-Card";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
simple-audio-card,dai-link@0 { /* I2S - HDMI*/
|
|
reg = <0>;
|
|
format = "i2s";
|
|
cpu {
|
|
sound-dai = <&ap_i2s 1>;
|
|
};
|
|
codec {
|
|
sound-dai = <&hdmi_codec>;
|
|
};
|
|
};
|
|
simple-audio-card,dai-link@1 { /* I2S - AUDIO SYS CODEC 7210*/
|
|
reg = <1>;
|
|
format = "i2s";
|
|
cpu {
|
|
sound-dai = <&i2s1 0>;
|
|
};
|
|
codec {
|
|
sound-dai = <&es7210_audio_codec>;
|
|
};
|
|
};
|
|
simple-audio-card,dai-link@2 { /* I2S - AUDIO SYS CODEC 8156*/
|
|
reg = <2>;
|
|
format = "i2s";
|
|
cpu {
|
|
sound-dai = <&i2s1 0>;
|
|
};
|
|
codec {
|
|
sound-dai = <&es8156_audio_codec>;
|
|
};
|
|
};
|
|
};
|
|
|
|
usb-hub {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
hub_2_0: hub@1 {
|
|
compatible = "usb2109,2817";
|
|
reg = <1>;
|
|
peer-hub = <&hub_3_0>;
|
|
vdd-supply = <®_hub_1v2>;
|
|
vbus-supply = <®_vcc5v_usb>;
|
|
};
|
|
|
|
hub_3_0: hub@2 {
|
|
compatible = "usb2109,817";
|
|
reg = <2>;
|
|
peer-hub = <&hub_2_0>;
|
|
vbus-supply = <®_vcc5v_usb>;
|
|
vdd-supply = <®_vcc5v_usb>;
|
|
};
|
|
};
|
|
|
|
wcn_wifi: wireless-wlan {
|
|
compatible = "wlan-platdata";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_wake_pins>;
|
|
WIFI,poweren-gpios = <&gpio2 7 0>;
|
|
power_on_after_init;
|
|
power_on_when_resume;
|
|
status = "okay";
|
|
};
|
|
|
|
gpio-keys {
|
|
/* ONKEY/SYS_RST_N */
|
|
key1 {
|
|
label = "Key1";
|
|
//wakeup-source;
|
|
linux,code = <KEY_MACRO1>;
|
|
debounce-interval = <1>;
|
|
gpios = <&aogpio 4 GPIO_ACTIVE_LOW>;
|
|
};
|
|
key2 {
|
|
label = "Key2";
|
|
//wakeup-source;
|
|
linux,code = <KEY_MACRO2>;
|
|
debounce-interval = <1>;
|
|
gpios = <&aogpio 5 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
compatible = "simple-bus";
|
|
interrupt-parent = <&plic>;
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
dma-noncoherent;
|
|
ranges;
|
|
|
|
vvcam_sensor3: vvcam_sensor@3 {//cam3 csi0 modified
|
|
sensor_name = "OV5693";
|
|
compatible = "xuantie,th1520-vvcam-sensor";
|
|
sensor_pdn = <&gpio1 28 0>; //powerdown pin / shutdown pin
|
|
sensor_rst = <&ioexp2 1 0>;
|
|
sensor_pdn_delay_us = <4000>; //powerdown pin / shutdown pin activated till I2C ready
|
|
sensor_regulators = "DOVDD18", "DVDD12", "AVDD28";
|
|
sensor_regulator_timing_us = <70 50 20>;
|
|
DOVDD18-supply = <®_cam0_dovdd18>;
|
|
DVDD12-supply = <®_cam0_dvdd12>;
|
|
AVDD28-supply = <®_cam0_avdd28>;
|
|
i2c_reg_width = /bits/ 8 <2>;
|
|
i2c_data_width = /bits/ 8 <1>;
|
|
i2c_addr = /bits/ 8 <0x36>;
|
|
i2c_bus = /bits/ 8 <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
video2: cam_dev@300 {
|
|
compatible = "xuantie,th1520-video";
|
|
vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
|
|
status = "okay";
|
|
channel0 {
|
|
channel_id = <0>;
|
|
status = "okay";
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_MP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
};
|
|
channel1 {
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_SP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
};
|
|
channel2 {
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_SP2_BP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
video3: cam_dev@400{
|
|
compatible = "xuantie,th1520-video";
|
|
vi_mem_pool_region = <0>; // vi_mem: framebuffer, region[0]
|
|
status = "okay";
|
|
channel0 {
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_MP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
dw {
|
|
subdev_name = "dw";
|
|
idx = <0>;
|
|
path_type = "DW_DWE_VSE0";
|
|
dw_dst_depth = <2>;
|
|
};
|
|
};
|
|
channel1 {
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_MP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
dw {
|
|
subdev_name = "dw";
|
|
idx = <0>;
|
|
path_type = "DW_DWE_VSE1";
|
|
dw_dst_depth = <2>;
|
|
};
|
|
};
|
|
channel2 {
|
|
sensor1 {
|
|
subdev_name = "vivcam";
|
|
idx = <3>;
|
|
csi_idx = <0>;
|
|
mode_idx = <1>;
|
|
path_type = "SENSOR_2592x1944_LINER";
|
|
};
|
|
dma {
|
|
subdev_name = "vipre";
|
|
idx = <0>;
|
|
path_type = "VIPRE_CSI0_ISP1";
|
|
|
|
};
|
|
isp {
|
|
subdev_name = "isp";
|
|
idx = <1>;
|
|
path_type = "ISP_MI_PATH_MP";
|
|
output {
|
|
max_width = <2600>;
|
|
max_height = <2000>;
|
|
bit_per_pixel = <12>;
|
|
frame_count = <3>;
|
|
};
|
|
};
|
|
dw {
|
|
subdev_name = "dw";
|
|
idx = <0>;
|
|
path_type = "DW_DWE_VSE2";
|
|
dw_dst_depth = <2>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&cpus {
|
|
c910_0: cpu@0 {
|
|
dvdd-supply = <&dvdd_cpu_reg>;
|
|
dvddm-supply = <&dvddm_cpu_reg>;
|
|
|
|
operating-points = <
|
|
/* kHz uV */
|
|
300000 600000
|
|
400000 700000
|
|
500000 700000
|
|
600000 700000
|
|
702000 700000
|
|
800000 700000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
th1520,dvddm-operating-points = <
|
|
/* kHz uV */
|
|
300000 800000
|
|
400000 800000
|
|
500000 800000
|
|
600000 800000
|
|
702000 800000
|
|
800000 800000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
};
|
|
c910_1: cpu@1 {
|
|
dvdd-supply = <&dvdd_cpu_reg>;
|
|
dvddm-supply = <&dvddm_cpu_reg>;
|
|
|
|
operating-points = <
|
|
/* kHz uV */
|
|
300000 600000
|
|
400000 700000
|
|
500000 700000
|
|
600000 700000
|
|
702000 700000
|
|
800000 700000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
th1520,dvddm-operating-points = <
|
|
/* kHz uV */
|
|
300000 800000
|
|
400000 800000
|
|
500000 800000
|
|
600000 800000
|
|
702000 800000
|
|
800000 800000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
};
|
|
c910_2: cpu@2 {
|
|
dvdd-supply = <&dvdd_cpu_reg>;
|
|
dvddm-supply = <&dvddm_cpu_reg>;
|
|
|
|
operating-points = <
|
|
/* kHz uV */
|
|
300000 600000
|
|
400000 700000
|
|
500000 700000
|
|
600000 700000
|
|
702000 700000
|
|
800000 700000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
th1520,dvddm-operating-points = <
|
|
/* kHz uV */
|
|
300000 800000
|
|
400000 800000
|
|
500000 800000
|
|
600000 800000
|
|
702000 800000
|
|
800000 800000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
};
|
|
c910_3: cpu@3 {
|
|
dvdd-supply = <&dvdd_cpu_reg>;
|
|
dvddm-supply = <&dvddm_cpu_reg>;
|
|
|
|
operating-points = <
|
|
/* kHz uV */
|
|
300000 600000
|
|
400000 700000
|
|
500000 700000
|
|
600000 700000
|
|
702000 700000
|
|
800000 700000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
th1520,dvddm-operating-points = <
|
|
/* kHz uV */
|
|
300000 800000
|
|
400000 800000
|
|
500000 800000
|
|
600000 800000
|
|
702000 800000
|
|
800000 800000
|
|
900000 800000
|
|
1000000 800000
|
|
1104000 800000
|
|
1200000 800000
|
|
1296000 800000
|
|
1404000 800000
|
|
1500000 800000
|
|
1608000 1000000
|
|
1704000 1000000
|
|
1848000 1000000
|
|
>;
|
|
};
|
|
};
|
|
|
|
&resmem {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
/* global autoconfigured region for contiguous allocations */
|
|
cmamem: linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
size = <0 0x30000000>; // 768MB on lpi4a (SOM)
|
|
alloc-ranges = <0 0xc8000000 0 0x30000000>; // [0x0C800_0000 ~ 0x0F800_0000] linux,cma-default;
|
|
linux,cma-default;
|
|
};
|
|
dsp0_mem: memory@20000000 { /**0x2000_0000~0x2040_0000 4M**/
|
|
reg = <0x0 0x20000000 0x0 0x00280000 /* DSP FW code&data section 2.5M*/
|
|
0x0 0x20280000 0x0 0x00001000 /* DSP communication area 4K*/
|
|
0x0 0x20281000 0x0 0x00007000 /* Panic/log page 28K */
|
|
0x0 0x20288000 0x0 0x00178000>; /* DSP shared memory 1.5M-32K*/
|
|
};
|
|
dsp1_mem: memory@20400000 { /**0x2040_0000~0x2080_0000 4M**/
|
|
reg = <0x0 0x20400000 0x0 0x00280000 /* DSP FW code&data section */
|
|
0x0 0x20680000 0x0 0x00001000 /* DSP communication area */
|
|
0x0 0x20681000 0x0 0x00007000 /* Panic/log page*/
|
|
0x0 0x20688000 0x0 0x00178000>; /* DSP shared memory */
|
|
};
|
|
vi_mem: framebuffer@10000000 {
|
|
reg = <0x0 0x10000000 0x0 0x6700000>; /* vi_mem_pool_region[0] 44 MB (default) */
|
|
//0x0 0x12C00000 0x0 0x01D00000 /* vi_mem_pool_region[1] 29 MB */
|
|
//0x0 0x14900000 0x0 0x01E00000>; /* vi_mem_pool_region[2] 30 MB */
|
|
};
|
|
|
|
audio_text_mem: memory@32000000 {
|
|
reg = <0x0 0x32000000 0x0 0xE00000>;
|
|
//no-map;
|
|
};
|
|
audio_data_mem: memory@32E00000 {
|
|
reg = <0x0 0x32E00000 0x0 0x600000>;
|
|
//no-map;
|
|
};
|
|
audio_log_mem: memory@33400000 {
|
|
reg = <0x0 0x33400000 0x0 0x200000>;
|
|
};
|
|
//Note: with "no-map" reserv mem not saved in hibernation
|
|
rpmsgmem: memory@1E000000 {
|
|
reg = <0x0 0x1E000000 0x0 0x10000>;
|
|
};
|
|
aon_log_mem: memory@33600000 {
|
|
reg = <0x0 0x33600000 0x0 0x200000>;
|
|
};
|
|
regdump_mem: memory@38400000 {
|
|
reg = <0x0 0x38400000 0x0 0x1400000>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
®dump {
|
|
memory-region = <®dump_mem>;
|
|
status = "okay";
|
|
};
|
|
|
|
&osc {
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
&osc_32k {
|
|
clock-frequency = <32768>;
|
|
};
|
|
|
|
&rc_24m {
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
&aonsys_clk {
|
|
clock-frequency = <73728000>;
|
|
};
|
|
|
|
&audiosys_clk {
|
|
clock-frequency = <294912000>;
|
|
};
|
|
|
|
&apb_clk {
|
|
clock-frequency = <62500000>;
|
|
};
|
|
|
|
&sdhci_clk {
|
|
clock-frequency = <198000000>;
|
|
};
|
|
|
|
&uart_sclk {
|
|
clock-frequency = <100000000>;
|
|
};
|
|
|
|
&gmac_clk {
|
|
clock-frequency = <500000000>;
|
|
};
|
|
|
|
&gmac_axi_clk {
|
|
clock-frequency = <100000000>;
|
|
};
|
|
|
|
&aon {
|
|
log-memory-region = <&aon_log_mem>;
|
|
status = "okay";
|
|
|
|
dvdd_cpu_reg: appcpu_dvdd {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "appcpu_dvdd";
|
|
regulator-min-microvolt = <300000>;
|
|
regulator-max-microvolt = <1570000>;
|
|
regulator-type = "dvdd";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
dvddm_cpu_reg: appcpu_dvddm {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "appcpu_dvddm";
|
|
regulator-min-microvolt = <300000>;
|
|
regulator-max-microvolt = <1570000>;
|
|
regulator-type = "dvddm";
|
|
regulator-dual-rail;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dvdd18_aon_reg: soc_dvdd18_aon {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd18_aon";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_avdd33_usb3_reg: soc_avdd33_usb3 {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_avdd33_usb3";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dvdd08_aon_reg: soc_dvdd08_aon {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd08_aon";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dvdd08_ddr_reg: soc_dvdd08_ddr {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd08_ddr";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_vdd_ddr_1v8_reg: soc_vdd_ddr_1v8 {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_vdd_ddr_1v8";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_vdd_ddr_1v1_reg: soc_vdd_ddr_1v1 {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_vdd_ddr_1v1";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_vdd_ddr_0v6_reg: soc_vdd_ddr_0v6 {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_vdd_ddr_0v6";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dvdd18_ap_reg: soc_dvdd18_ap {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd18_ap";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dvdd08_ap_reg: soc_dvdd08_ap {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd08_ap";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_avdd08_mipi_hdmi_reg: soc_avdd08_mipi_hdmi {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_avdd08_mipi_hdmi";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_avdd18_mipi_hdmi_reg: soc_avdd18_mipi_hdmi {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_avdd18_mipi_hdmi";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_vdd33_emmc_reg: soc_vdd33_emmc {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd33_emmc";
|
|
regulator-type = "common";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_vdd18_emmc_reg: soc_vdd18_emmc {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd18_emmc";
|
|
regulator-type = "gpio";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
soc_dovdd18_scan_reg: soc_dovdd18_scan {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dovdd18_scan";
|
|
regulator-type = "common";
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <3600000>;
|
|
};
|
|
|
|
soc_dvdd12_scan_reg: soc_dvdd12_scan {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_dvdd12_scan";
|
|
regulator-type = "common";
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <3600000>;
|
|
};
|
|
|
|
soc_avdd28_scan_en_reg: soc_avdd28_scan_en {
|
|
compatible = "thead,th1520-aon-pmic";
|
|
regulator-name = "soc_avdd28_scan_en";
|
|
regulator-type = "common";
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <3600000>;
|
|
};
|
|
};
|
|
|
|
&padctrl0_apsys {
|
|
lcd0_bl_pins: bl-0 {
|
|
pwm0-pins {
|
|
pins = "GPIO3_2"; /* PWM0 */
|
|
function = "pwm";
|
|
bias-disable;
|
|
drive-strength = <25>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
lcd1_bl_pins: bl-1 {
|
|
pwm1-pins {
|
|
pins = "QSPI0_CSN0"; /* PWM1 */
|
|
function = "pwm";
|
|
bias-disable;
|
|
drive-strength = <25>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
gmac0_pins: gmac0-0 {
|
|
tx-pins {
|
|
pins = "GMAC0_TX_CLK",
|
|
"GMAC0_TXEN",
|
|
"GMAC0_TXD0",
|
|
"GMAC0_TXD1",
|
|
"GMAC0_TXD2",
|
|
"GMAC0_TXD3";
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <25>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "GMAC0_RX_CLK",
|
|
"GMAC0_RXDV",
|
|
"GMAC0_RXD0",
|
|
"GMAC0_RXD1",
|
|
"GMAC0_RXD2",
|
|
"GMAC0_RXD3";
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
gmac1_pins: gmac1-0 {
|
|
tx-pins {
|
|
pins = "GPIO2_18", /* GMAC1_TX_CLK */
|
|
"GPIO2_20", /* GMAC1_TXEN */
|
|
"GPIO2_21", /* GMAC1_TXD0 */
|
|
"GPIO2_22", /* GMAC1_TXD1 */
|
|
"GPIO2_23", /* GMAC1_TXD2 */
|
|
"GPIO2_24"; /* GMAC1_TXD3 */
|
|
function = "gmac1";
|
|
bias-disable;
|
|
drive-strength = <25>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "GPIO2_19", /* GMAC1_RX_CLK */
|
|
"GPIO2_25", /* GMAC1_RXDV */
|
|
"GPIO2_30", /* GMAC1_RXD0 */
|
|
"GPIO2_31", /* GMAC1_RXD1 */
|
|
"GPIO3_0", /* GMAC1_RXD2 */
|
|
"GPIO3_1"; /* GMAC1_RXD3 */
|
|
function = "gmac1";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
sdio0_pins: sdio0-0 {
|
|
detn-pins {
|
|
pins = "SDIO0_DETN";
|
|
function = "sdio";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
i2c2_pins: i2c2-0 {
|
|
i2c-pins {
|
|
pins = "I2C2_SCL", "I2C2_SDA";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
i2c3_pins: i2c3-0 {
|
|
i2c-pins {
|
|
pins = "I2C3_SCL", "I2C3_SDA";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
mdio0_pins: mdio0-0 {
|
|
mdc-pins {
|
|
pins = "GMAC0_MDC";
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
mdio-pins {
|
|
pins = "GMAC0_MDIO";
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
uart0_pins: uart0-0 {
|
|
tx-pins {
|
|
pins = "UART0_TXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "UART0_RXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
spi_pins: spi-0 {
|
|
spi-pins {
|
|
pins = "SPI_SCLK", "SPI_MOSI", "SPI_MISO";
|
|
function = "spi";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
hdmi_tx_pins: hdmi-tx-0 {
|
|
hdmi-pins {
|
|
pins = "HDMI_SCL", "HDMI_SDA", "HDMI_CEC";
|
|
function = "hdmi";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
qspi0_pins: qspi0-0 {
|
|
qspi-pins {
|
|
pins = "QSPI0_SCLK", "QSPI0_D0_MOSI", "QSPI0_D1_MISO", "QSPI0_D2_WP", "QSPI0_D3_HOLD";
|
|
function = "qspi";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&padctrl1_apsys {
|
|
i2c0_pins: i2c0-0 {
|
|
i2c-pins {
|
|
pins = "I2C0_SCL", "I2C0_SDA";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
i2c1_pins: i2c1-0 {
|
|
i2c-pins {
|
|
pins = "I2C1_SCL", "I2C1_SDA";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
i2c4_pins: i2c4-0 {
|
|
i2c-pins {
|
|
pins = "GPIO0_18", "GPIO0_19";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
qspi1_pins: qspi1-0 {
|
|
qspi-pins {
|
|
pins = "QSPI1_SCLK", "QSPI1_D0_MOSI", "QSPI1_D1_MISO", "QSPI1_D2_WP", "QSPI1_D3_HOLD";
|
|
function = "qspi";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
uart1_pins: uart1-0 {
|
|
tx-pins {
|
|
pins = "UART1_TXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "UART1_RXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
uart3_pins: uart3-0 {
|
|
tx-pins {
|
|
pins = "UART3_TXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "UART3_RXD";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
uart3_ir_pins: uart3-0 {
|
|
tx-pins {
|
|
pins = "GPIO0_20";
|
|
function = "uart"; // uart_ir
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "GPIO0_21";
|
|
function = "uart"; // uart_ir
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
uart4_pins: uart4-0 {
|
|
tx-pins {
|
|
pins = "UART4_TXD", "UART4_RTSN";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "UART4_RXD", "UART4_CTSN";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
&padctrl_aosys {
|
|
ao_i2c_pins: ao-i2c-0 {
|
|
i2c-pins {
|
|
pins = "I2C_AON_SCL", "I2C_AON_SDA";
|
|
function = "i2c";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
wifi_wake_pins: wifi_grp {
|
|
wifi-pins {
|
|
pins = "AOGPIO_12";
|
|
function = "gpio";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
aud_uart_pa_pins: aud-uart-pa-0 {
|
|
i2c-pa-pins {
|
|
pins = "AOGPIO_12", "AOGPIO_13";
|
|
function = "audio";
|
|
bias-disable;
|
|
drive-strength = <0>;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
i2s1_pa_pins: i2s1-pa-0 {
|
|
i2s-pa-pins {
|
|
pins = "AUDIO_PA13", "AUDIO_PA14", "AUDIO_PA15", "AUDIO_PA16", "AUDIO_PA17";
|
|
function = "audio";
|
|
bias-disable;
|
|
drive-strength = <0>;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
aud_i2c0_pa_pins: aud-i2c0-pa-0 {
|
|
aud-i2c-pa-pins {
|
|
pins = "AUDIO_PA29", "AUDIO_PA30";
|
|
function = "audio";
|
|
bias-disable;
|
|
drive-strength = <0>;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
rtc_pins: rtc {
|
|
rtc-pins {
|
|
pins = "AOGPIO_10";
|
|
function = "gpio";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
/* E902 Debug port */
|
|
aouart_pins: aouart-0 {
|
|
tx-pins {
|
|
pins = "AOGPIO_8";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <3>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
rx-pins {
|
|
pins = "AOGPIO_9";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <1>;
|
|
input-enable;
|
|
input-schmitt-enable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&padctrl_audiosys {
|
|
aud_i2c0_pins: aud-i2c0-0 {
|
|
i2c-pins {
|
|
pins = "PA29_FUNC", "PA30_FUNC";
|
|
function = "aud_i2c0";
|
|
bias-disable;
|
|
drive-strength = <7>;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
i2s1_pins: i2s1-0 {
|
|
i2s-pins {
|
|
pins = "PA13_FUNC", "PA14_FUNC", "PA15_FUNC", "PA16_FUNC", "PA17_FUNC";
|
|
function = "aud_i2s1";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
|
|
/* C906 Debug port */
|
|
aud_uart_pins: aud-uart-0 {
|
|
tx-pins {
|
|
pins = "PA23_FUNC";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <12>;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
rx-pins {
|
|
pins = "PA24_FUNC";
|
|
function = "uart";
|
|
bias-disable;
|
|
drive-strength = <0>;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gmac0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gmac0_pins &mdio0_pins>;
|
|
phy-handle = <&phy0>;
|
|
phy-mode = "rgmii-id";
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gmac1_pins>;
|
|
phy-handle = <&phy1>;
|
|
phy-mode = "rgmii-id";
|
|
status = "okay";
|
|
};
|
|
|
|
&audio_i2c0 {
|
|
clock-frequency = <100000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&aud_i2c0_pa_pins>,
|
|
<&aud_i2c0_pins>;
|
|
status = "okay";
|
|
|
|
aud_ioexp: gpio@20 {
|
|
compatible = "awinic,aw9535";
|
|
reg = <0x20>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
ngpios = <16>;
|
|
gpio-line-names =
|
|
"ADC_3V3_EN", "ADC_1V8_EN", "DAC_3V3_EN", "DAC_1V8_EN", // index 0..3
|
|
"AUDIO_PA_RST1", "AUD_P5", "", "", // index 4..7
|
|
"", "", "", "", // index 8..11
|
|
"","","ADC3_INT","ADC2_INT"; // index 12..15
|
|
};
|
|
|
|
es8156_audio_codec: es8156@8 {
|
|
#sound-dai-cells = <0>;
|
|
compatible = "everest,es8156";
|
|
reg = <0x08>;
|
|
sound-name-prefix = "ES8156";
|
|
AVDD-supply = <®_aud_3v3>;
|
|
DVDD-supply = <®_aud_1v8>;
|
|
PVDD-supply = <®_aud_1v8>;
|
|
status = "okay";
|
|
};
|
|
|
|
es7210_audio_codec: es7210@40 { /* connect to I2S2 */
|
|
#sound-dai-cells = <0>;
|
|
compatible = "MicArray_0";
|
|
reg = <0x40>;
|
|
sound-name-prefix = "ES7210";
|
|
MVDD-supply = <®_aud_3v3>;
|
|
AVDD-supply = <®_aud_3v3>;
|
|
DVDD-supply = <®_aud_1v8>;
|
|
PVDD-supply = <®_aud_1v8>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c0_pins>;
|
|
clock-frequency = <100000>;
|
|
i2c-sda-hold-time-ns = <300>;
|
|
i2c-sda-falling-time-ns = <510>;
|
|
i2c-scl-falling-time-ns = <510>;
|
|
status = "okay";
|
|
|
|
eeprom@50 {
|
|
compatible = "atmel,24c02";
|
|
|
|
reg = <0x50>;
|
|
pagesize = <16>;
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c1_pins>;
|
|
clock-frequency = <100000>;
|
|
i2c-sda-hold-time-ns = <300>;
|
|
i2c-sda-falling-time-ns = <510>;
|
|
i2c-scl-falling-time-ns = <510>;
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c2_pins>;
|
|
clock-frequency = <100000>;
|
|
i2c-sda-hold-time-ns = <300>;
|
|
i2c-sda-falling-time-ns = <510>;
|
|
i2c-scl-falling-time-ns = <510>;
|
|
status = "okay";
|
|
|
|
wl2866d_0@28 {
|
|
compatible = "willsemi,wl2866d";
|
|
reg = <0x28>;
|
|
status = "okay";
|
|
|
|
regulators {
|
|
dvdd1_mipicsi0_reg: dvdd1_mipicsi0 {
|
|
regulator-name = "dvdd1_mipicsi0";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1300000>;
|
|
};
|
|
|
|
dvdd2_mipicsi0_reg: dvdd2_mipicsi0 {
|
|
regulator-name = "dvdd2_mipicsi0";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
avdd1_mipicsi0_reg: avdd1_mipicsi0 {
|
|
regulator-name = "avdd1_mipicsi0";
|
|
regulator-min-microvolt = <2500000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
|
|
avdd2_mipicsi0_reg: avdd2_mipicsi0 {
|
|
regulator-name = "avdd2_mipicsi0";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c3_pins>;
|
|
clock-frequency = <100000>;
|
|
i2c-sda-hold-time-ns = <300>;
|
|
i2c-sda-falling-time-ns = <510>;
|
|
i2c-scl-falling-time-ns = <510>;
|
|
status = "okay";
|
|
|
|
pcf8563: rtc@51 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rtc_pins>;
|
|
compatible = "nxp,pcf8563";
|
|
reg = <0x51>;
|
|
#clock-cells = <0>;
|
|
clocks = <&osc_32k>;
|
|
clock-names = "osc_32k";
|
|
interrupt-parent = <&aogpio>;
|
|
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
|
wakeup-source;
|
|
};
|
|
|
|
ioexp2: gpio@20 {
|
|
compatible = "awinic,aw9535";
|
|
reg = <0x20>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
ngpios = <16>;
|
|
gpio-line-names =
|
|
"CSIA_PWREN", "MIPICSIA_RSTN", "MIPICSIA_PWDN", "MIPICSIA_FSIN", // index 0..3
|
|
"CSIB_PWREN", "MIPICSIB_RSTN", "MIPICSIB_PWDN", "MIPICSIB_FSIN", // index 4..7
|
|
"", "", "PHY0_EN", "PHY1_EN", // index 8..11
|
|
"WIFI_EN","IRDA_EN_B","FAN_PWR_EN",""; // index 12..15
|
|
};
|
|
|
|
wl2866d_1@28 {
|
|
compatible = "willsemi,wl2866d";
|
|
reg = <0x28>;
|
|
status = "okay";
|
|
|
|
regulators {
|
|
dvdd1_mipicsi1_reg: dvdd1_mipicsi1 {
|
|
regulator-name = "dvdd1_mipicsi1";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1300000>;
|
|
};
|
|
|
|
dvdd2_mipicsi1_reg: dvdd2_mipicsi1 {
|
|
regulator-name = "dvdd2_mipicsi1";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
avdd1_mipicsi1_reg: avdd1_mipicsi1 {
|
|
regulator-name = "avdd1_mipicsi1";
|
|
regulator-min-microvolt = <2500000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
};
|
|
|
|
avdd2_mipicsi1_reg: avdd2_mipicsi1 {
|
|
regulator-name = "avdd2_mipicsi1";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
};
|
|
};
|
|
/* abandoned */
|
|
ioexp3: gpio@18 {
|
|
compatible = "nxp,pca9557";
|
|
reg = <0x18>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-line-names = "tp0_rst",
|
|
"",
|
|
"",
|
|
"vcc5v_usb",
|
|
"vdd28_tp0",
|
|
"vdd33_lcd0",
|
|
"vdd18_lcd0",
|
|
"lcd0_reset";
|
|
};
|
|
};
|
|
|
|
&i2c4 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c4_pins>;
|
|
clock-frequency = <100000>;
|
|
i2c-sda-hold-time-ns = <300>;
|
|
i2c-sda-falling-time-ns = <510>;
|
|
i2c-scl-falling-time-ns = <510>;
|
|
status = "okay";
|
|
|
|
ioexp1: gpio@20 {
|
|
compatible = "awinic,aw9535";
|
|
reg = <0x20>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
ngpios = <16>;
|
|
gpio-line-names =
|
|
"DSI0_BL_EN", "DSI0_PWREN", "DSI0_DISP_RST", "DSI0_TP_RST", // index 0..3
|
|
"DSI1_BL_EN", "DSI1_PWREN", "DSI1_DISP_RST", "DSI1_TP_RST", // index 4..7
|
|
"FLASH_EN", "FRAM_EN", "RTC_EN", "USB3_VBUS_EN", // index 8..11
|
|
"USB_OC","DSI1_TS_INT","DSI0_TS_INT","2_0V_Sensor_PG"; // index 12..15
|
|
};
|
|
};
|
|
|
|
&mdio0 {
|
|
phy0: ethernet-phy@1 {
|
|
reg = <1>;
|
|
};
|
|
|
|
phy1: ethernet-phy@2 {
|
|
reg = <2>;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart3_pins>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart4 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart4_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usb {
|
|
//usb3-vbus-en-gpios = <&ioexp1 11 GPIO_ACTIVE_HIGH>;
|
|
//usb3-oc-gpios = <&ioexp1 12 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
hubswitch-gpio = <&gpio2 8 0>;
|
|
};
|
|
|
|
&usb_dwc3 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&adc {
|
|
vref-supply = <®_vref_1v8>;
|
|
#io-channel-cells = <1>;
|
|
sampling-frequency = <1000000>;
|
|
resolution = <12>;
|
|
status = "okay";
|
|
};
|
|
|
|
&spi {
|
|
num-cs = <1>;
|
|
cs-gpios = <&gpio2 15 0>;
|
|
rx-sample-delay-ns = <10>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi_pins>;
|
|
status = "okay";
|
|
|
|
spi_norflash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "winbond,w25q64jwm", "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <50000000>;
|
|
w25q,fast-read;
|
|
};
|
|
};
|
|
|
|
&qspi0 {
|
|
num-cs = <1>;
|
|
cs-gpios = <&gpio2 3 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&qspi0_pins>;
|
|
status = "disabled";
|
|
|
|
spi_norflash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "winbond,w25q64jwm", "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <50000000>;
|
|
spi-tx-bus-width = <4>;
|
|
spi-rx-bus-width = <4>;
|
|
w25q,fast-read;
|
|
};
|
|
|
|
spi-flash@1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "spi-nand";
|
|
spi-max-frequency = <100000000>;
|
|
spi-tx-bus-width = <4>;
|
|
spi-rx-bus-width = <4>;
|
|
reg = <1>;
|
|
|
|
partition@0 {
|
|
label = "ubi1";
|
|
reg = <0x00000000 0x08000000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&qspi1 {
|
|
num-cs = <1>;
|
|
cs-gpios = <&gpio0 1 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&qspi1_pins>;
|
|
status = "okay";
|
|
|
|
spi-flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "spi-nand";
|
|
spi-max-frequency = <100000000>;
|
|
spi-tx-bus-width = <4>;
|
|
spi-rx-bus-width = <4>;
|
|
reg = <0>;
|
|
|
|
partition@0 {
|
|
label = "ubi1";
|
|
reg = <0x00000000 0x08000000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&emmc {
|
|
bus-width = <8>;
|
|
max-frequency = <198000000>;
|
|
mmc-hs400-1_8v;
|
|
mmc-hs200-1_8v;
|
|
non-removable;
|
|
no-sdio;
|
|
no-sd;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdio0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdio0_pins>;
|
|
max-frequency = <198000000>;
|
|
bus-width = <4>;
|
|
pull_up;
|
|
no-sd;
|
|
no-mmc;
|
|
non-removable;
|
|
io_fixed_1v8;
|
|
post-power-on-delay-ms = <50>;
|
|
wprtn_ignore;
|
|
sd-uhs-sdr104;
|
|
cap-sd-highspeed;
|
|
wakeup-source;
|
|
status = "okay";
|
|
};
|
|
|
|
&ap_i2s {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2s1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2s1_pa_pins>,
|
|
<&i2s1_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&isp0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&isp1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&isp_ry0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dewarp {
|
|
status = "okay";
|
|
};
|
|
|
|
&dec400_isp0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dec400_isp1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dec400_isp2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&bm_visys {
|
|
status = "okay";
|
|
};
|
|
|
|
&bm_csi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&bm_csi1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&bm_csi2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&vidmem {
|
|
status = "okay";
|
|
memory-region = <&vi_mem>;
|
|
};
|
|
|
|
&vi_pre {
|
|
status = "okay";
|
|
};
|
|
&xtensa_dsp {
|
|
status = "okay";
|
|
};
|
|
|
|
&xtensa_dsp0 {
|
|
status = "okay";
|
|
memory-region = <&dsp0_mem>;
|
|
};
|
|
|
|
&xtensa_dsp1 {
|
|
status = "okay";
|
|
memory-region = <&dsp1_mem>;
|
|
};
|
|
|
|
&gpu {
|
|
status = "okay";
|
|
};
|
|
|
|
&npu {
|
|
vha_clk_rate = <1000000000>;
|
|
status = "okay";
|
|
};
|
|
|
|
&npu_opp_table {
|
|
opp-1000000000 {
|
|
opp-suspend;
|
|
};
|
|
};
|
|
|
|
&dpu_enc1 {
|
|
ports {
|
|
/delete-node/ port@0;
|
|
};
|
|
};
|
|
|
|
&disp1_out {
|
|
remote-endpoint = <&hdmi_tx_in>;
|
|
};
|
|
|
|
&hdmi_tx {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&hdmi_tx_pins>;
|
|
status = "okay";
|
|
|
|
port@0 {
|
|
/* input */
|
|
hdmi_tx_in: endpoint {
|
|
remote-endpoint = <&disp1_out>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&eip_28 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dmac0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dmac2 {
|
|
status = "okay";
|
|
};
|
|
|
|
|
|
&dpu_enc0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
/* output */
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
enc0_out: endpoint {
|
|
remote-endpoint = <&dsi0_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
&dhost_0 {
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
|
|
dsi0_in: endpoint {
|
|
remote-endpoint = <&enc0_out>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
dsi0_out: endpoint {
|
|
remote-endpoint = <&panel0_in>;
|
|
};
|
|
};
|
|
};
|
|
|
|
panel0@0 {
|
|
compatible = "jadard,jd9365da-h3";
|
|
reg = <0>;
|
|
backlight = <&lcd1_backlight>;
|
|
reset-gpio = <&gpio1 0 0>; /* active low */
|
|
hsvcc-supply = <®_vdd18_lcd0>;
|
|
vspn3v3-supply = <®_vdd33_lcd0>;
|
|
|
|
port {
|
|
panel0_in: endpoint {
|
|
remote-endpoint = <&dsi0_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dsi0 {
|
|
status = "okay";
|
|
}; |