summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/meson8-minix-neo-x8.dts
blob: 56ea875c418cc69013c192830809a459f5b5f285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright 2014 Beniamino Galvani <b.galvani@gmail.com>
 */

/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "meson8.dtsi"

/ {
	model = "MINIX NEO-X8";
	compatible = "minix,neo-x8", "amlogic,meson8";

	aliases {
		serial0 = &uart_AO;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	memory {
		device_type = "memory";
		reg = <0x40000000 0x80000000>;
	};

	gpio-leds {
		compatible = "gpio-leds";

		blue {
			label = "x8:blue:power";
			gpios = <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_HIGH>;
		};
	};
};

&uart_AO {
	status = "okay";
	pinctrl-0 = <&uart_ao_a_pins>;
	pinctrl-names = "default";
};

&i2c_AO {
	status = "okay";
	pinctrl-0 = <&i2c_ao_pins>;
	pinctrl-names = "default";

	pmic@32 {
		compatible = "ricoh,rn5t618";
		reg = <0x32>;
		system-power-controller;

		regulators {
		};
	};

	rtc@51 {
		compatible = "nxp,pcf8563";
		reg = <0x51>;
	};
};

&spifc {
	status = "okay";
	pinctrl-0 = <&spi_nor_pins>;
	pinctrl-names = "default";

	flash@0 {
		compatible = "mxicy,mx25l1606e";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0>;
		spi-max-frequency = <30000000>;

		partition@0 {
			label = "boot";
			reg = <0x0 0x100000>;
		};

		partition@100000 {
			label = "env";
			reg = <0x100000 0x10000>;
		};
	};
};

&ir_receiver {
	status = "okay";
	pinctrl-0 = <&ir_recv_pins>;
	pinctrl-names = "default";
};

&ethmac {
	status = "okay";
	pinctrl-0 = <&eth_pins>;
	pnictrl-names = "default";
};