summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
blob: e662677a6e28fa5937e28aa67597c470456e8805 (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
98
99
100
101
102
103
104
105
106
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Device Tree file for Freescale LS1012A RDB Board.
 *
 * Copyright 2016 Freescale Semiconductor, Inc.
 *
 */
/dts-v1/;

#include <dt-bindings/interrupt-controller/irq.h>
#include "fsl-ls1012a.dtsi"

/ {
	model = "LS1012A RDB Board";
	compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";

	aliases {
		serial0 = &duart0;
		mmc0 = &esdhc0;
		mmc1 = &esdhc1;
	};
};

&duart0 {
	status = "okay";
};

&esdhc0 {
	sd-uhs-sdr104;
	sd-uhs-sdr50;
	sd-uhs-sdr25;
	sd-uhs-sdr12;
	status = "okay";
};

&esdhc1 {
	mmc-hs200-1_8v;
	status = "okay";
};

&i2c0 {
	status = "okay";

	accelerometer@1e {
		compatible = "nxp,fxos8700";
		reg = <0x1e>;
		interrupt-parent = <&gpio26>;
		interrupts = <13 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "INT1";
	};

	gyroscope@20 {
		compatible = "nxp,fxas21002c";
		reg = <0x20>;
	};

	gpio@24 {
		compatible = "nxp,pcal9555a";
		reg = <0x24>;
		gpio-controller;
		#gpio-cells = <2>;
	};

	gpio@25 {
		compatible = "nxp,pcal9555a";
		reg = <0x25>;
		gpio-controller;
		#gpio-cells = <2>;
	};

	gpio26: gpio@26 {
		compatible = "nxp,pcal9555a";
		reg = <0x26>;
		interrupt-parent = <&gpio0>;
		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
		interrupt-controller;
		#interrupt-cells = <2>;
		gpio-controller;
		#gpio-cells = <2>;
	};

	current-sensor@40 {
		compatible = "ti,ina220";
		reg = <0x40>;
		shunt-resistor = <2000>;
	};
};

&qspi {
	status = "okay";

	s25fs512s0: flash@0 {
		compatible = "jedec,spi-nor";
		#address-cells = <1>;
		#size-cells = <1>;
		spi-max-frequency = <50000000>;
		m25p,fast-read;
		reg = <0>;
		spi-rx-bus-width = <2>;
		spi-tx-bus-width = <2>;
	};
};

&sata {
	status = "okay";
};