GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / nspire-classic.dtsi
1 /*
2  *  linux/arch/arm/boot/nspire-classic.dts
3  *
4  *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2, as
8  * published by the Free Software Foundation.
9  *
10  */
11
12 /include/ "nspire.dtsi"
13
14 &lcd {
15         lcd-type = "classic";
16 };
17
18 &fast_timer {
19         /* compatible = "lsi,zevio-timer"; */
20         reg = <0x90010000 0x1000>, <0x900A0010 0x8>;
21 };
22
23 &uart {
24         compatible = "ns16550";
25         reg-shift = <2>;
26         reg-io-width = <4>;
27         clocks = <&apb_pclk>;
28         no-loopback-test;
29 };
30
31 &timer0 {
32         /* compatible = "lsi,zevio-timer"; */
33         reg = <0x900C0000 0x1000>, <0x900A0018 0x8>;
34 };
35
36 &timer1 {
37         compatible = "lsi,zevio-timer";
38         reg = <0x900D0000 0x1000>, <0x900A0020 0x8>;
39 };
40
41 &keypad {
42         active-low;
43
44 };
45
46 &base_clk {
47         compatible = "lsi,nspire-classic-clock";
48 };
49
50 &ahb_clk {
51         compatible = "lsi,nspire-classic-ahb-divider";
52 };
53
54
55 &vbus_reg {
56         gpio = <&gpio 5 0>;
57 };
58
59 / {
60         memory {
61                 device_type = "memory";
62                 reg = <0x10000000 0x2000000>; /* 32 MB */
63         };
64
65         ahb {
66                 #address-cells = <1>;
67                 #size-cells = <1>;
68
69                 intc: interrupt-controller@DC000000 {
70                         compatible = "lsi,zevio-intc";
71                         interrupt-controller;
72                         reg = <0xDC000000 0x1000>;
73                         #interrupt-cells = <1>;
74                 };
75         };
76         chosen {
77                 bootargs = "debug earlyprintk console=tty0 console=ttyS0,115200n8 root=/dev/ram0";
78         };
79 };