1// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2/*
3 * Copyright (c) 2019 Andreas Färber
4 */
5
6/dts-v1/;
7
8#include "rtd1395.dtsi"
9
10/ {
11	compatible = "bananapi,bpi-m4", "realtek,rtd1395";
12	model = "Banana Pi BPI-M4";
13
14	memory@2f000 {
15		device_type = "memory";
16		reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */
17	};
18
19	aliases {
20		serial0 = &uart0;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26};
27
28&uart0 {
29	status = "okay";
30};
31