zephyr/boards/arm/arduino_due/arduino_due.dts
Piotr Zięcik 7d56fc35fd dts: Add information about CPU frequency to the cpu nodes
This commit adds 'clock-frequency' property to the cpu nodes.
The clock frequency specified in the added property is used
during platform configuration. Examples:

- The SWO logger uses clock frequency to configure SWO output.
- Plenty of platforms need CPU clock specified for their HAL.
- Most of devices with USB needs information about CPU clock
  in order to configure USB clock source.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-17 21:53:36 +02:00

46 lines
600 B
Text

/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/;
#include <atmel/sam3x.dtsi>
/ {
model = "Arduino Due with an Atmel SAM3X8E SoC";
compatible = "arduino,due", "atmel,sam3x8e", "atmel,sam3x";
aliases {
wdog = &wdog;
uart-0 = &uart0;
i2c-0 = &i2c0;
i2c-1 = &i2c1;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};
&cpu0 {
clock-frequency = <84000000>;
};
&wdog {
status = "okay";
};
&i2c0 {
status = "okay";
};
&i2c1 {
status = "okay";
};
&uart0 {
status = "okay";
current-speed = <115200>;
};