454 lines
5.7 KiB
Plaintext
454 lines
5.7 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "a210-soc-core.dtsi"
|
|
#include "a210-soc-core-die1.dtsi"
|
|
#include "a210-soc-peri.dtsi"
|
|
|
|
/ {
|
|
model = "A210 EVB D2D configuration";
|
|
|
|
aliases {
|
|
mmc0 = &emmc;
|
|
serial4 = &uart4;
|
|
ethernet0 = &gmac0;
|
|
ethernet1 = &gmac1;
|
|
};
|
|
|
|
/* The first 2M will be reserved in the Kernel, and the entire available range is set here */
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00 0x80000000 0x01 0x00000000>; /* 4G - 64MB */
|
|
numa-node-id = <0>;
|
|
};
|
|
|
|
memory@2080000000 {
|
|
device_type = "memory";
|
|
reg = <0x20 0x80000000 0x02 0x00000000>; // 8G
|
|
numa-node-id = <1>;
|
|
};
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
size = <0x00 0x40000000>;
|
|
alloc-ranges = <0x00 0x90000000 0x00 0x40000000>;
|
|
linux,cma-default;
|
|
};
|
|
|
|
memory@1c000000 {
|
|
reg = <0x00 0x1c000000 0x00 0x2000000>;
|
|
no-map;
|
|
};
|
|
|
|
framebuffer: framebuffer@10000000 {
|
|
reg = <0x01 0x00 0x00 0x5000000>;
|
|
no-map;
|
|
};
|
|
|
|
// zh_videomem@100000000 {
|
|
// reg = <0x01 0x00 0x00 0x20000000>;
|
|
// no-map;
|
|
// };
|
|
|
|
npu_mmu_memory@130000000 {
|
|
reg = <0x01 0x30000000 0x00 0x04000000>;
|
|
no-map;
|
|
};
|
|
|
|
memblock-memory@17b800000 {
|
|
reg = <0x01 0x7b800000 0x00 0x04000000>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
/* The bootargs in U-Boot will override the configuration set here. */
|
|
chosen {
|
|
stdout-path = "serial4";
|
|
};
|
|
};
|
|
|
|
&peri1_padctrl {
|
|
gmac0_pins: gmac0-0 {
|
|
txclk-pins {
|
|
pins = "GPIO0_0", /* GMAC0_TX_CLK */
|
|
"GPIO0_12"; /* GMAC0_MDC */
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
tx-pins {
|
|
pins = "GPIO0_2", /* GMAC0_TXEN */
|
|
"GPIO0_3", /* GMAC0_TXD0 */
|
|
"GPIO0_4", /* GMAC0_TXD1 */
|
|
"GPIO0_5", /* GMAC0_TXD2 */
|
|
"GPIO0_6"; /* GMAC0_TXD3 */
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <20>;
|
|
input-disable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
|
|
rx-pins {
|
|
pins = "GPIO0_1", /* GMAC0_RX_CLK */
|
|
"GPIO0_7", /* GMAC0_RXDV */
|
|
"GPIO0_8", /* GMAC0_RXD0 */
|
|
"GPIO0_9", /* GMAC0_RXD1 */
|
|
"GPIO0_10", /* GMAC0_RXD2 */
|
|
"GPIO0_11", /* GMAC0_RXD3 */
|
|
"GPIO0_13"; /* GMAC0_MDIO */
|
|
function = "gmac0";
|
|
bias-disable;
|
|
drive-strength = <13>;
|
|
input-enable;
|
|
input-schmitt-disable;
|
|
slew-rate = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart4 {
|
|
current-speed = <115200>; /* OpenSBI */
|
|
};
|
|
|
|
&uart5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart6 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart7 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart8 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart9 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&qspi0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c6 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c7 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pwm0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pwm2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s_8ch_sd1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s_8ch_sd2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s_8ch_sd3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&peri3_padctrl {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpio4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gmac1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
/* FIXME: Disabled non-critical peripherals in the bringup phase */
|
|
&can0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&can1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&can2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&dmac1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer6 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&timer7 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&i2c4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&dm3x4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&rp3x1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&usb31_zhihe {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gmac0 {
|
|
phy-mode = "rgmii-id";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gmac0_pins>;
|
|
rx-clk-delay = <0x00>; /* for RGMII */
|
|
tx-clk-delay = <0x00>; /* for RGMII */
|
|
phy-handle = <&phy0>;
|
|
};
|
|
|
|
&mdio0 {
|
|
phy0: ethernet-phy@0 {
|
|
reg = <0x0>;
|
|
};
|
|
};
|
|
|
|
&gmac1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&mdio1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&spi1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&rp3x1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_i2s2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&audio_pdm0 { // Load the module using insmod
|
|
status = "disabled";
|
|
};
|
|
|
|
&pwm1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&sata {
|
|
status = "disabled";
|
|
};
|
|
|
|
&hdmi_tx {
|
|
status = "disabled";
|
|
};
|
|
|
|
&emmc {
|
|
max-frequency = <196608000>;
|
|
non-removable;
|
|
mmc-ddr-1_8v;
|
|
mmc-hs200-1_8v;
|
|
mmc-hs400-1_8v;
|
|
cap-mmc-highspeed;
|
|
io_fixed_1v8;
|
|
is_emmc;
|
|
no-sdio;
|
|
no-sd;
|
|
pull_up;
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&sdhci0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&adc {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vp_dfmu_iommu {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vp_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&npu_dfmu_iommu {
|
|
status = "disabled";
|
|
};
|
|
|
|
&npu_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vi_dfmu_iommu {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vi_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vo_dfmu_iommu {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vo_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&peri1_dfmu_iommu {
|
|
status = "okay";
|
|
};
|
|
|
|
&peri1_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pcie_dfmu_iommu {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pcie_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&usb_dfmu_iommu {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_dfmu_mt {
|
|
status = "disabled";
|
|
};
|
|
|
|
&vidmem {
|
|
status = "disabled";
|
|
};
|
|
|
|
&usb2_0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gpio0 {
|
|
status = "disabled";
|
|
};
|
|
&gpio1 {
|
|
status = "disabled";
|
|
};
|
|
&gpio2 {
|
|
status = "disabled";
|
|
};
|
|
&gpio3 {
|
|
status = "disabled";
|
|
};
|
|
&gpio4 {
|
|
status = "disabled";
|
|
};
|