1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2017 Andreas Färber
4 * Copyright (c) 2018 Manivannan Sadhasivam
5 */
6
7/dts-v1/;
8
9#include "rda8810pl.dtsi"
10
11/ {
12	compatible = "xunlong,orangepi-2g-iot", "rda,8810pl";
13	model = "Orange Pi 2G-IoT";
14
15	aliases {
16		serial0 = &uart1;
17		serial1 = &uart2;
18		serial2 = &uart3;
19	};
20
21	chosen {
22		stdout-path = "serial2:921600n8";
23	};
24
25	memory@80000000 {
26		device_type = "memory";
27		reg = <0x80000000 0x10000000>;
28	};
29
30	uart_clk: uart-clk {
31		compatible = "fixed-clock";
32		clock-frequency = <921600>;
33		#clock-cells = <0>;
34	};
35};
36
37&uart1 {
38	status = "okay";
39	clocks = <&uart_clk>;
40};
41
42&uart2 {
43	status = "okay";
44	clocks = <&uart_clk>;
45};
46
47&uart3 {
48	status = "okay";
49	clocks = <&uart_clk>;
50};
51