xref: /linux/scripts/dtc/include-prefixes/arm/amlogic/meson8-minix-neo-x8.dts (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2014 Beniamino Galvani <b.galvani@gmail.com>
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/dts-v1/;
7724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8724ba675SRob Herring#include "meson8.dtsi"
9724ba675SRob Herring
10724ba675SRob Herring/ {
11724ba675SRob Herring	model = "MINIX NEO-X8";
12724ba675SRob Herring	compatible = "minix,neo-x8", "amlogic,meson8";
13724ba675SRob Herring
14724ba675SRob Herring	aliases {
15724ba675SRob Herring		serial0 = &uart_AO;
16724ba675SRob Herring	};
17724ba675SRob Herring
18724ba675SRob Herring	chosen {
19724ba675SRob Herring		stdout-path = "serial0:115200n8";
20724ba675SRob Herring	};
21724ba675SRob Herring
227947fd2dSNeil Armstrong	memory@40000000 {
23724ba675SRob Herring		device_type = "memory";
24724ba675SRob Herring		reg = <0x40000000 0x80000000>;
25724ba675SRob Herring	};
26724ba675SRob Herring
27724ba675SRob Herring	gpio-leds {
28724ba675SRob Herring		compatible = "gpio-leds";
29724ba675SRob Herring
30724ba675SRob Herring		led-blue {
31724ba675SRob Herring			label = "x8:blue:power";
32724ba675SRob Herring			gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_HIGH>;
33724ba675SRob Herring		};
34724ba675SRob Herring	};
35724ba675SRob Herring};
36724ba675SRob Herring
37724ba675SRob Herring&uart_AO {
38724ba675SRob Herring	status = "okay";
39724ba675SRob Herring	pinctrl-0 = <&uart_ao_a_pins>;
40724ba675SRob Herring	pinctrl-names = "default";
41724ba675SRob Herring};
42724ba675SRob Herring
43724ba675SRob Herring&i2c_AO {
44724ba675SRob Herring	status = "okay";
45724ba675SRob Herring	pinctrl-0 = <&i2c_ao_pins>;
46724ba675SRob Herring	pinctrl-names = "default";
47724ba675SRob Herring
48724ba675SRob Herring	pmic@32 {
49724ba675SRob Herring		compatible = "ricoh,rn5t618";
50724ba675SRob Herring		reg = <0x32>;
51724ba675SRob Herring		system-power-controller;
52724ba675SRob Herring
53724ba675SRob Herring		regulators {
54724ba675SRob Herring		};
55724ba675SRob Herring	};
56724ba675SRob Herring
57724ba675SRob Herring	rtc@51 {
58724ba675SRob Herring		compatible = "nxp,pcf8563";
59724ba675SRob Herring		reg = <0x51>;
60724ba675SRob Herring	};
61724ba675SRob Herring};
62724ba675SRob Herring
63724ba675SRob Herring&spifc {
64724ba675SRob Herring	status = "okay";
65724ba675SRob Herring	pinctrl-0 = <&spi_nor_pins>;
66724ba675SRob Herring	pinctrl-names = "default";
67724ba675SRob Herring
68724ba675SRob Herring	flash@0 {
69724ba675SRob Herring		compatible = "mxicy,mx25l1606e";
70724ba675SRob Herring		#address-cells = <1>;
71724ba675SRob Herring		#size-cells = <1>;
72724ba675SRob Herring		reg = <0>;
73724ba675SRob Herring		spi-max-frequency = <30000000>;
74724ba675SRob Herring
75724ba675SRob Herring		partition@0 {
76724ba675SRob Herring			label = "boot";
77724ba675SRob Herring			reg = <0x0 0x100000>;
78724ba675SRob Herring		};
79724ba675SRob Herring
80724ba675SRob Herring		partition@100000 {
81724ba675SRob Herring			label = "env";
82724ba675SRob Herring			reg = <0x100000 0x10000>;
83724ba675SRob Herring		};
84724ba675SRob Herring	};
85724ba675SRob Herring};
86724ba675SRob Herring
87724ba675SRob Herring&ir_receiver {
88724ba675SRob Herring	status = "okay";
89724ba675SRob Herring	pinctrl-0 = <&ir_recv_pins>;
90724ba675SRob Herring	pinctrl-names = "default";
91724ba675SRob Herring};
92724ba675SRob Herring
93724ba675SRob Herring&ethmac {
94724ba675SRob Herring	status = "okay";
95724ba675SRob Herring	pinctrl-0 = <&eth_pins>;
96*bf1f647cSNeil Armstrong	pinctrl-names = "default";
97e4940a57SNeil Armstrong	phy-mode = "rmii";
98724ba675SRob Herring};
99