0001 // SPDX-License-Identifier: GPL-2.0 OR MIT
0002 /*
0003 * Copyright 2014 Beniamino Galvani <b.galvani@gmail.com>
0004 */
0005
0006 /dts-v1/;
0007 #include <dt-bindings/gpio/gpio.h>
0008 #include "meson8.dtsi"
0009
0010 / {
0011 model = "MINIX NEO-X8";
0012 compatible = "minix,neo-x8", "amlogic,meson8";
0013
0014 aliases {
0015 serial0 = &uart_AO;
0016 };
0017
0018 chosen {
0019 stdout-path = "serial0:115200n8";
0020 };
0021
0022 memory {
0023 device_type = "memory";
0024 reg = <0x40000000 0x80000000>;
0025 };
0026
0027 gpio-leds {
0028 compatible = "gpio-leds";
0029
0030 blue {
0031 label = "x8:blue:power";
0032 gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_HIGH>;
0033 };
0034 };
0035 };
0036
0037 &uart_AO {
0038 status = "okay";
0039 pinctrl-0 = <&uart_ao_a_pins>;
0040 pinctrl-names = "default";
0041 };
0042
0043 &i2c_AO {
0044 status = "okay";
0045 pinctrl-0 = <&i2c_ao_pins>;
0046 pinctrl-names = "default";
0047
0048 pmic@32 {
0049 compatible = "ricoh,rn5t618";
0050 reg = <0x32>;
0051 system-power-controller;
0052
0053 regulators {
0054 };
0055 };
0056
0057 rtc@51 {
0058 compatible = "nxp,pcf8563";
0059 reg = <0x51>;
0060 };
0061 };
0062
0063 &spifc {
0064 status = "okay";
0065 pinctrl-0 = <&spi_nor_pins>;
0066 pinctrl-names = "default";
0067
0068 flash@0 {
0069 compatible = "mxicy,mx25l1606e";
0070 #address-cells = <1>;
0071 #size-cells = <1>;
0072 reg = <0>;
0073 spi-max-frequency = <30000000>;
0074
0075 partition@0 {
0076 label = "boot";
0077 reg = <0x0 0x100000>;
0078 };
0079
0080 partition@100000 {
0081 label = "env";
0082 reg = <0x100000 0x10000>;
0083 };
0084 };
0085 };
0086
0087 &ir_receiver {
0088 status = "okay";
0089 pinctrl-0 = <&ir_recv_pins>;
0090 pinctrl-names = "default";
0091 };
0092
0093 ðmac {
0094 status = "okay";
0095 pinctrl-0 = <ð_pins>;
0096 pnictrl-names = "default";
0097 };