有没卡启动的rk3288-evb-android-act8846-edp.dts示例
时间: 2023-08-04 15:05:52 浏览: 217
以下是一个可以用于SD卡启动的rk3288-evb-android-act8846-ed.dts示例,仅供参考:
```
/dts-v1/;
/include/ "rk3288.dtsi"
/ {
model = "Rockchip RK3288 EVB with act8846 and edp";
chosen {
bootargs = "earlyprintk console=ttyS2,115200n8 root=/dev/mmcblk1p2 rw rootwait";
};
memory@60000000 {
reg = <0x60000000 0x40000000>;
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
kernel@0 {
reg = <0x60000000 0x02000000>;
};
reserved@20000000 {
reg = <0x20000000 0x20000000>;
};
};
aliases {
mmc0 = &sdmmc;
};
sdmmc: sdmmc@fe310000 {
compatible = "rockchip,rk3288-dw-mshc";
reg = <0xfe310000 0x1000>;
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru PCLK_SDMMC0>, <&cru SCLK_SDMMC0>;
clock-names = "pclk", "hclk";
dmas = <&pdma 12>, <&pdma 12>;
dma-names = "rx", "tx";
pinctrl-0 = <&sdmmc_pins>;
pinctrl-names = "default";
status = "okay";
};
sdmmc_pins: sdmmc@0 {
rockchip,pins = <
RK_GPIO1 1 RK_FUNC_2
RK_GPIO1 2 RK_FUNC_2
RK_GPIO1 3 RK_FUNC_2
RK_GPIO1 4 RK_FUNC_2
RK_GPIO1 5 RK_FUNC_2
RK_GPIO1 6 RK_FUNC_2
RK_GPIO1 7 RK_FUNC_2
RK_GPIO1 8 RK_FUNC_2
>;
};
act8846: act8846@5b {
compatible = "active-semi,act8846";
reg = <0x5b>;
gpio-controller;
#gpio-cells = <2>;
interrupt-parent = <&gpio1>;
interrupts = <14 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default";
pinctrl-0 = <&act8846_pins>;
status = "okay";
};
act8846_pins: act8846@0 {
rockchip,pins = <
RK_GPIO4 3 RK_FUNC_GPIO
RK_GPIO4 4 RK_FUNC_GPIO
RK_GPIO4 5 RK_FUNC_GPIO
>;
};
edp: edp@1c19000 {
compatible = "rockchip,rk3288-edp";
reg = <0x01c19000 0x1000>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru SCLK_EDP>;
clock-names = "edp";
status = "okay";
};
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm2 0 5000>;
brightness-levels = <0 14 28 42 56 70 84 100>;
default-brightness-level = <7>;
status = "okay";
};
};
```
这个示例中,sdmmc节点表示SD卡,act8846节点表示PMIC,edp节点表示eDP显示器接口,backlight节点表示背光控制。其中,bootargs设置了SD卡启动的相关参数。注意,这个示例是根据某个特定的rk3288 EVB开发板进行配置的,如果你的硬件不同,需要进行相应的修改。
阅读全文