blob: 983caddc409c35b4b396650935a1cfb84ab10d21 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
4 */
5
6/dts-v1/;
7
8#include "meson-s4.dtsi"
9
10/ {
11 model = "Amlogic Meson S4 AQ222 Development Board";
12 compatible = "amlogic,aq222", "amlogic,s4";
13 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
16
17 aliases {
Tom Rini93743d22024-04-01 09:08:13 -040018 serial0 = &uart_b;
Tom Rini53633a82024-02-29 12:33:36 -050019 };
20
21 memory@0 {
22 device_type = "memory";
23 reg = <0x0 0x0 0x0 0x40000000>;
24 };
25
Tom Rini93743d22024-04-01 09:08:13 -040026 reserved-memory {
27 #address-cells = <2>;
28 #size-cells = <2>;
29 ranges;
30
31 /* 52 MiB reserved for ARM Trusted Firmware */
32 secmon_reserved: secmon@5000000 {
33 reg = <0x0 0x05000000 0x0 0x3400000>;
34 no-map;
35 };
36 };
Tom Rini53633a82024-02-29 12:33:36 -050037};
38
Tom Rini93743d22024-04-01 09:08:13 -040039&uart_b {
Tom Rini53633a82024-02-29 12:33:36 -050040 status = "okay";
41};
42
43&ir {
44 status = "okay";
45 pinctrl-0 = <&remote_pins>;
46 pinctrl-names = "default";
Tom Rini93743d22024-04-01 09:08:13 -040047};
48
49&nand {
50 status = "okay";
51 #address-cells = <1>;
52 #size-cells = <0>;
53
54 pinctrl-0 = <&nand_pins>;
55 pinctrl-names = "default";
56
57 nand@0 {
58 reg = <0>;
59 #address-cells = <1>;
60 #size-cells = <1>;
61
62 nand-on-flash-bbt;
63
64 partition@0 {
65 label = "boot";
66 reg = <0x0 0x00200000>;
67 };
68 partition@200000 {
69 label = "env";
70 reg = <0x00200000 0x00400000>;
71 };
72 partition@600000 {
73 label = "system";
74 reg = <0x00600000 0x00a00000>;
75 };
76 partition@1000000 {
77 label = "rootfs";
78 reg = <0x01000000 0x03000000>;
79 };
80 partition@4000000 {
81 label = "media";
82 reg = <0x04000000 0x8000000>;
83 };
84 };
85};
86
87&spicc0 {
88 status = "okay";
89 pinctrl-names = "default";
90 pinctrl-0 = <&spicc0_pins_x>;
91 cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
Tom Rini53633a82024-02-29 12:33:36 -050092};