1// 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 { 18 serial0 = &uart_b; 19 }; 20 21 memory@0 { 22 device_type = "memory"; 23 reg = <0x0 0x0 0x0 0x40000000>; 24 }; 25 26 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 }; 37}; 38 39&uart_b { 40 status = "okay"; 41}; 42 43&ir { 44 status = "okay"; 45 pinctrl-0 = <&remote_pins>; 46 pinctrl-names = "default"; 47}; 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>; 92}; 93