2019-06-20 15:04:33 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019, Synopsys, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2022-04-30 05:32:15 +08:00
|
|
|
#include <synopsys/emsdp.dtsi>
|
2022-10-31 15:14:21 +08:00
|
|
|
#include <mem.h>
|
2019-06-20 15:04:33 +08:00
|
|
|
#include "board.dtsi"
|
2023-05-11 17:05:32 +08:00
|
|
|
#include "emsdp-pinctrl.dtsi"
|
2019-06-20 15:04:33 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "emsdp";
|
|
|
|
compatible = "snps,emsdp", "snps,emsdp";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
uart-0 = &uart0;
|
2022-07-11 14:58:29 +08:00
|
|
|
spi-flash0 = &s25fl256s;
|
2019-06-20 15:04:33 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,shell-uart = &uart0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2019-08-05 14:50:16 +08:00
|
|
|
status = "okay";
|
2019-06-20 15:04:33 +08:00
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
2019-08-05 14:50:16 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
|
|
|
|
uart@f0004000 {
|
|
|
|
interrupts = <107 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio@f0002000 {
|
|
|
|
interrupts = <85 1>;
|
|
|
|
};
|
|
|
|
|
2022-07-11 14:58:29 +08:00
|
|
|
spi@f0008000 {
|
|
|
|
interrupts = <83 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
spi@f1000000 {
|
|
|
|
interrupts = <84 1>;
|
2023-06-05 14:44:57 +08:00
|
|
|
pinctrl-0 = <&unmuxed_pin>;
|
|
|
|
pinctrl-names = "default";
|
2022-07-11 14:58:29 +08:00
|
|
|
};
|
2023-05-11 17:05:32 +08:00
|
|
|
|
|
|
|
spi@80010000 {
|
|
|
|
interrupts = <63 2>, <64 2>, <65 2>;
|
|
|
|
pinctrl-0 = <&arduino_CFG5_spi>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi@80010100 {
|
|
|
|
interrupts = <67 2>, <68 2>, <69 2>;
|
|
|
|
pinctrl-0 = <&pmodA_spi1_cs0>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2019-08-05 14:50:16 +08:00
|
|
|
};
|
|
|
|
};
|