treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / nspire-classic.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  *  linux/arch/arm/boot/nspire-classic.dts
4  *
5  *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
6  */
7
8 /include/ "nspire.dtsi"
9
10 &lcd {
11         lcd-type = "classic";
12 };
13
14 &fast_timer {
15         /* compatible = "lsi,zevio-timer"; */
16         reg = <0x90010000 0x1000>, <0x900A0010 0x8>;
17 };
18
19 &uart {
20         compatible = "ns16550";
21         reg-shift = <2>;
22         reg-io-width = <4>;
23         clocks = <&apb_pclk>;
24         no-loopback-test;
25 };
26
27 &timer0 {
28         /* compatible = "lsi,zevio-timer"; */
29         reg = <0x900C0000 0x1000>, <0x900A0018 0x8>;
30 };
31
32 &timer1 {
33         compatible = "lsi,zevio-timer";
34         reg = <0x900D0000 0x1000>, <0x900A0020 0x8>;
35 };
36
37 &keypad {
38         active-low;
39
40 };
41
42 &base_clk {
43         compatible = "lsi,nspire-classic-clock";
44 };
45
46 &ahb_clk {
47         compatible = "lsi,nspire-classic-ahb-divider";
48 };
49
50
51 &vbus_reg {
52         gpio = <&gpio 5 0>;
53 };
54
55 / {
56         memory {
57                 device_type = "memory";
58                 reg = <0x10000000 0x2000000>; /* 32 MB */
59         };
60
61         ahb {
62                 #address-cells = <1>;
63                 #size-cells = <1>;
64
65                 intc: interrupt-controller@DC000000 {
66                         compatible = "lsi,zevio-intc";
67                         interrupt-controller;
68                         reg = <0xDC000000 0x1000>;
69                         #interrupt-cells = <1>;
70                 };
71         };
72         chosen {
73                 bootargs = "debug earlyprintk console=tty0 console=ttyS0,115200n8 root=/dev/ram0";
74         };
75 };