arch: arm: dts: add Luckfox Lyra Zero W (RK3506)
This commit is contained in:
parent
53aa6209c6
commit
9fed915924
3 changed files with 1393 additions and 0 deletions
|
|
@ -1226,6 +1226,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
|||
rk3506-armsom-forge1.dtb \
|
||||
rk3506b-evb1-v10.dtb \
|
||||
rk3506b-test2-v10.dtb \
|
||||
rk3506b-luckfox-lyra-zero-w-sd.dtb \
|
||||
rk3506g-demo-display-control.dtb \
|
||||
rk3506g-evb1-v10.dtb \
|
||||
rk3506g-evb1-v10-amp.dtb \
|
||||
|
|
|
|||
1283
arch/arm/boot/dts/rk3506-luckfox-lyra-ultra.dtsi
Normal file
1283
arch/arm/boot/dts/rk3506-luckfox-lyra-ultra.dtsi
Normal file
File diff suppressed because it is too large
Load diff
109
arch/arm/boot/dts/rk3506b-luckfox-lyra-zero-w-sd.dts
Normal file
109
arch/arm/boot/dts/rk3506b-luckfox-lyra-zero-w-sd.dts
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "rk3506-luckfox-lyra-ultra.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Luckfox Lyra Zero W";
|
||||
compatible = "rockchip,rk3506g-demo-display-control", "rockchip,rk3506";
|
||||
|
||||
wireless_bluetooth: wireless-bluetooth {
|
||||
compatible = "bluetooth-platdata";
|
||||
BT,power_gpio = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
vcc3v3_lcd: vcc3v3-lcd {
|
||||
status = "okay";
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcd_pwren_h>;
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
/**********media**********/
|
||||
&mmc {
|
||||
/* For SDMMC */
|
||||
max-frequency = <52000000>;
|
||||
bus-width = <4>;
|
||||
no-sdio;
|
||||
no-mmc;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
cd-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>; //det
|
||||
disable-wp;
|
||||
//sd-uhs-sdr104;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_clk_pins &sdmmc_cmd_pins &sdmmc_bus4_pins &sdmmc_det &sdmmc_pwren>;
|
||||
vqmmc-supply = <&vcc_3v3>;
|
||||
vmmc-supply = <&vcc_3v3>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&fspi {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
compatible = "spi-nand";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <80000000>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-tx-bus-width = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
/**********display**********/
|
||||
&cma {
|
||||
size = <0x2000000>;
|
||||
};
|
||||
|
||||
&dsi {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi_dphy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi_in_vop {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_dsi {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi_panel {
|
||||
power-supply = <&vcc3v3_lcd>;
|
||||
};
|
||||
|
||||
/**********ethernet**********/
|
||||
&gmac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/**********usb**********/
|
||||
&usb20_otg0 {
|
||||
dr_mode = "peripheral";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb20_otg1 {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/**********pinctrl**********/
|
||||
&pinctrl {
|
||||
lcd {
|
||||
lcd_pwren_h: lcd-pwren-h {
|
||||
rockchip,pins = <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue