xref: /freebsd-src/sys/contrib/device-tree/src/arm/nspire/nspire-classic.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/include/ "nspire.dtsi"
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot&lcd {
9f126890aSEmmanuel Vadot	port {
10f126890aSEmmanuel Vadot		clcd_pads: endpoint {
11f126890aSEmmanuel Vadot			remote-endpoint = <&panel_in>;
12f126890aSEmmanuel Vadot		};
13f126890aSEmmanuel Vadot	};
14f126890aSEmmanuel Vadot};
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot&fast_timer {
17f126890aSEmmanuel Vadot	/* compatible = "lsi,zevio-timer"; */
18f126890aSEmmanuel Vadot	reg = <0x90010000 0x1000>, <0x900a0010 0x8>;
19f126890aSEmmanuel Vadot};
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot&uart {
22f126890aSEmmanuel Vadot	compatible = "ns16550";
23f126890aSEmmanuel Vadot	reg-shift = <2>;
24f126890aSEmmanuel Vadot	reg-io-width = <4>;
25f126890aSEmmanuel Vadot	clocks = <&apb_pclk>;
26f126890aSEmmanuel Vadot	no-loopback-test;
27f126890aSEmmanuel Vadot};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot&timer0 {
30f126890aSEmmanuel Vadot	/* compatible = "lsi,zevio-timer"; */
31f126890aSEmmanuel Vadot	reg = <0x900c0000 0x1000>, <0x900a0018 0x8>;
32f126890aSEmmanuel Vadot};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot&timer1 {
35f126890aSEmmanuel Vadot	compatible = "lsi,zevio-timer";
36f126890aSEmmanuel Vadot	reg = <0x900d0000 0x1000>, <0x900a0020 0x8>;
37f126890aSEmmanuel Vadot};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot&keypad {
40f126890aSEmmanuel Vadot	active-low;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot};
43f126890aSEmmanuel Vadot
44f126890aSEmmanuel Vadot&base_clk {
45f126890aSEmmanuel Vadot	compatible = "lsi,nspire-classic-clock";
46f126890aSEmmanuel Vadot};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot&ahb_clk {
49f126890aSEmmanuel Vadot	compatible = "lsi,nspire-classic-ahb-divider";
50f126890aSEmmanuel Vadot};
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot&vbus_reg {
54f126890aSEmmanuel Vadot	gpio = <&gpio 5 0>;
55f126890aSEmmanuel Vadot};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot/ {
58*0e8011faSEmmanuel Vadot	memory@10000000 {
59f126890aSEmmanuel Vadot		device_type = "memory";
60f126890aSEmmanuel Vadot		reg = <0x10000000 0x2000000>; /* 32 MB */
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot	ahb {
64f126890aSEmmanuel Vadot		#address-cells = <1>;
65f126890aSEmmanuel Vadot		#size-cells = <1>;
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot		intc: interrupt-controller@dc000000 {
68f126890aSEmmanuel Vadot			compatible = "lsi,zevio-intc";
69f126890aSEmmanuel Vadot			interrupt-controller;
70f126890aSEmmanuel Vadot			reg = <0xdc000000 0x1000>;
71f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
72f126890aSEmmanuel Vadot		};
73f126890aSEmmanuel Vadot	};
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot	panel {
76f126890aSEmmanuel Vadot		compatible = "ti,nspire-classic-lcd-panel";
77f126890aSEmmanuel Vadot		port {
78f126890aSEmmanuel Vadot			panel_in: endpoint {
79f126890aSEmmanuel Vadot				remote-endpoint = <&clcd_pads>;
80f126890aSEmmanuel Vadot			};
81f126890aSEmmanuel Vadot		};
82f126890aSEmmanuel Vadot	};
83f126890aSEmmanuel Vadot	chosen {
84f126890aSEmmanuel Vadot		bootargs = "debug earlyprintk console=tty0 console=ttyS0,115200n8 root=/dev/ram0";
85f126890aSEmmanuel Vadot	};
86f126890aSEmmanuel Vadot};
87