blob: 7207d126b38ec93a77c5902b41d2f9040d4cdd2c [file] [log] [blame]
Andrew Davis5c12edd2023-04-11 13:24:57 -05001// SPDX-License-Identifier: GPL-2.0-only
David Lechner03809142019-05-28 20:56:42 -05002/*
3 * Device tree for LEGO MINDSTORMS EV3
4 *
5 * Copyright (C) 2017 David Lechner <david@lechnology.com>
David Lechner03809142019-05-28 20:56:42 -05006 */
7
8/dts-v1/;
9
10/ {
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "lego,ev3", "ti,da850";
14 model = "LEGO MINDSTORMS EV3";
15
16 aliases {
17 serial1 = &serial1;
18 spi0 = &spi0;
19 };
20
21 chosen {
22 stdout-path = &serial1;
23 };
24
Andrew Davisd402bf72023-04-11 13:25:07 -050025 memory@c0000000 {
David Lechner03809142019-05-28 20:56:42 -050026 device_type = "memory";
27 reg = <0xc0000000 0x04000000>;
28 };
29
30 arm {
31 #address-cells = <1>;
32 #size-cells = <1>;
33 ranges;
34 intc: interrupt-controller@fffee000 {
35 compatible = "ti,cp-intc";
36 interrupt-controller;
37 #interrupt-cells = <1>;
38 ti,intc-size = <101>;
39 reg = <0xfffee000 0x2000>;
40 };
41 };
42
43 soc@1c00000 {
44 compatible = "simple-bus";
45 model = "da850";
46 #address-cells = <1>;
47 #size-cells = <1>;
48 ranges = <0x0 0x01c00000 0x400000>;
49 interrupt-parent = <&intc>;
50
51 mmc0: mmc@40000 {
52 compatible = "ti,da830-mmc";
53 reg = <0x40000 0x1000>;
54 cap-sd-highspeed;
55 cap-mmc-highspeed;
56 interrupts = <16>;
57 max-frequency = <50000000>;
58 bus-width = <4>;
59 };
60
61 spi0: spi@41000 {
62 #address-cells = <1>;
63 #size-cells = <0>;
64 compatible = "ti,da830-spi";
65 reg = <0x41000 0x1000>;
66 num-cs = <6>;
67 ti,davinci-spi-intr-line = <1>;
68 interrupts = <20>;
69
70 flash@0 {
71 compatible = "micron,n25q128a13", "jedec,spi-nor", "spi-flash";
72 reg = <0>;
73 spi-max-frequency = <50000000>;
74 };
75 };
76
77 serial1: serial@10c000 {
78 compatible = "ti,da830-uart", "ns16550a";
79 reg = <0x10c000 0x100>;
80 reg-io-width = <4>;
81 reg-shift = <2>;
82 interrupts = <53>;
83 };
84 };
85};