Files
openloongarch-linux-5.10/arch/loongarch/boot/dts/loongson/ls2p500_g2p05z0_v10.dtsi
T
2024-07-25 14:54:28 +08:00

52 lines
820 B
Devicetree

#include "loongson2p500.dtsi"
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/pwm/pwm.h>
/ {
chosen {
stdout-path = "serial0:115200n8";
bootargs = "earlycon";
};
memory {
name = "memory";
device_type = "memory";
/* low 256MB, 0 ~ 2MB reserved, highest 16MB reserved. */
reg = <0 0x00200000 0 0x0ee00000
0 0x90000000 0 0x30000000>;
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x02000000>;
// alloc-ranges = <0 0x00200000 0 0x09000000>;
linux,cma-default;
};
};
};
&uart0 {
status = "okay";
};
&spi0 {
status = "okay";
spi-flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
reg = <0>;
};
};
&emmc0 {
status = "okay";
};