xref: /linux/arch/arm/boot/dts/amlogic/meson8-minix-neo-x8.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2014 Beniamino Galvani <b.galvani@gmail.com>
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8*724ba675SRob Herring#include "meson8.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "MINIX NEO-X8";
12*724ba675SRob Herring	compatible = "minix,neo-x8", "amlogic,meson8";
13*724ba675SRob Herring
14*724ba675SRob Herring	aliases {
15*724ba675SRob Herring		serial0 = &uart_AO;
16*724ba675SRob Herring	};
17*724ba675SRob Herring
18*724ba675SRob Herring	chosen {
19*724ba675SRob Herring		stdout-path = "serial0:115200n8";
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	memory {
23*724ba675SRob Herring		device_type = "memory";
24*724ba675SRob Herring		reg = <0x40000000 0x80000000>;
25*724ba675SRob Herring	};
26*724ba675SRob Herring
27*724ba675SRob Herring	gpio-leds {
28*724ba675SRob Herring		compatible = "gpio-leds";
29*724ba675SRob Herring
30*724ba675SRob Herring		led-blue {
31*724ba675SRob Herring			label = "x8:blue:power";
32*724ba675SRob Herring			gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_HIGH>;
33*724ba675SRob Herring		};
34*724ba675SRob Herring	};
35*724ba675SRob Herring};
36*724ba675SRob Herring
37*724ba675SRob Herring&uart_AO {
38*724ba675SRob Herring	status = "okay";
39*724ba675SRob Herring	pinctrl-0 = <&uart_ao_a_pins>;
40*724ba675SRob Herring	pinctrl-names = "default";
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&i2c_AO {
44*724ba675SRob Herring	status = "okay";
45*724ba675SRob Herring	pinctrl-0 = <&i2c_ao_pins>;
46*724ba675SRob Herring	pinctrl-names = "default";
47*724ba675SRob Herring
48*724ba675SRob Herring	pmic@32 {
49*724ba675SRob Herring		compatible = "ricoh,rn5t618";
50*724ba675SRob Herring		reg = <0x32>;
51*724ba675SRob Herring		system-power-controller;
52*724ba675SRob Herring
53*724ba675SRob Herring		regulators {
54*724ba675SRob Herring		};
55*724ba675SRob Herring	};
56*724ba675SRob Herring
57*724ba675SRob Herring	rtc@51 {
58*724ba675SRob Herring		compatible = "nxp,pcf8563";
59*724ba675SRob Herring		reg = <0x51>;
60*724ba675SRob Herring	};
61*724ba675SRob Herring};
62*724ba675SRob Herring
63*724ba675SRob Herring&spifc {
64*724ba675SRob Herring	status = "okay";
65*724ba675SRob Herring	pinctrl-0 = <&spi_nor_pins>;
66*724ba675SRob Herring	pinctrl-names = "default";
67*724ba675SRob Herring
68*724ba675SRob Herring	flash@0 {
69*724ba675SRob Herring		compatible = "mxicy,mx25l1606e";
70*724ba675SRob Herring		#address-cells = <1>;
71*724ba675SRob Herring		#size-cells = <1>;
72*724ba675SRob Herring		reg = <0>;
73*724ba675SRob Herring		spi-max-frequency = <30000000>;
74*724ba675SRob Herring
75*724ba675SRob Herring		partition@0 {
76*724ba675SRob Herring			label = "boot";
77*724ba675SRob Herring			reg = <0x0 0x100000>;
78*724ba675SRob Herring		};
79*724ba675SRob Herring
80*724ba675SRob Herring		partition@100000 {
81*724ba675SRob Herring			label = "env";
82*724ba675SRob Herring			reg = <0x100000 0x10000>;
83*724ba675SRob Herring		};
84*724ba675SRob Herring	};
85*724ba675SRob Herring};
86*724ba675SRob Herring
87*724ba675SRob Herring&ir_receiver {
88*724ba675SRob Herring	status = "okay";
89*724ba675SRob Herring	pinctrl-0 = <&ir_recv_pins>;
90*724ba675SRob Herring	pinctrl-names = "default";
91*724ba675SRob Herring};
92*724ba675SRob Herring
93*724ba675SRob Herring&ethmac {
94*724ba675SRob Herring	status = "okay";
95*724ba675SRob Herring	pinctrl-0 = <&eth_pins>;
96*724ba675SRob Herring	pnictrl-names = "default";
97*724ba675SRob Herring};
98