Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  *  linux/arch/arm/boot/nspire-cx.dts
0004  *
0005  *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
0006  */
0007 /dts-v1/;
0008 
0009 /include/ "nspire.dtsi"
0010 
0011 &lcd {
0012         port {
0013                 clcd_pads: endpoint {
0014                         remote-endpoint = <&panel_in>;
0015                 };
0016         };
0017 };
0018 
0019 &fast_timer {
0020         /* compatible = "arm,sp804", "arm,primecell"; */
0021 };
0022 
0023 &uart {
0024         compatible = "arm,pl011", "arm,primecell";
0025 
0026         clocks = <&uart_clk>, <&apb_pclk>;
0027         clock-names = "uart_clk", "apb_pclk";
0028 };
0029 
0030 &timer0 {
0031         compatible = "arm,sp804", "arm,primecell";
0032 };
0033 
0034 &timer1 {
0035         compatible = "arm,sp804", "arm,primecell";
0036 };
0037 
0038 &base_clk {
0039         compatible = "lsi,nspire-cx-clock";
0040 };
0041 
0042 &ahb_clk {
0043         compatible = "lsi,nspire-cx-ahb-divider";
0044 };
0045 
0046 &keypad {
0047         linux,keymap = <
0048         0x0000001c      0x0001001c      0x00040039
0049         0x0005002c      0x00060015      0x0007000b
0050         0x0008000f      0x0100002d      0x01010011
0051         0x0102002f      0x01030004      0x01040016
0052         0x01050014      0x0106001f      0x01070002
0053         0x010a006a      0x02000013      0x02010010
0054         0x02020019      0x02030007      0x02040018
0055         0x02050031      0x02060032      0x02070005
0056         0x02080028      0x0209006c      0x03000026
0057         0x03010025      0x03020024      0x0303000a
0058         0x03040017      0x03050023      0x03060022
0059         0x03070008      0x03080035      0x03090069
0060         0x04000021      0x04010012      0x04020020
0061         0x0404002e      0x04050030      0x0406001e
0062         0x0407000d      0x04080037      0x04090067
0063         0x05010038      0x0502000c      0x0503001b
0064         0x05040034      0x0505001a      0x05060006
0065         0x05080027      0x0509000e      0x050a006f
0066         0x0600002b      0x0602004e      0x06030068
0067         0x06040003      0x0605006d      0x06060009
0068         0x06070001      0x0609000f      0x0708002a
0069         0x0709001d      0x070a0033      >;
0070 };
0071 
0072 &vbus_reg {
0073         gpio = <&gpio 2 0>;
0074 };
0075 
0076 / {
0077         model = "TI-NSPIRE CX";
0078         compatible = "ti,nspire-cx";
0079 
0080         memory {
0081                 device_type = "memory";
0082                 reg = <0x10000000 0x4000000>; /* 64 MB */
0083         };
0084 
0085         uart_clk: uart_clk {
0086                 #clock-cells = <0>;
0087                 compatible = "fixed-clock";
0088                 clock-frequency = <12000000>;
0089         };
0090 
0091         ahb {
0092                 #address-cells = <1>;
0093                 #size-cells = <1>;
0094 
0095                 intc: interrupt-controller@dc000000 {
0096                         compatible = "arm,pl190-vic";
0097                         interrupt-controller;
0098                         reg = <0xdc000000 0x1000>;
0099                         #interrupt-cells = <1>;
0100                 };
0101 
0102                 apb@90000000 {
0103                         #address-cells = <1>;
0104                         #size-cells = <1>;
0105 
0106                         i2c@90050000 {
0107                                 compatible = "snps,designware-i2c";
0108                                 reg = <0x90050000 0x1000>;
0109                                 interrupts = <20>;
0110                         };
0111                 };
0112         };
0113 
0114         panel {
0115                 compatible = "ti,nspire-cx-lcd-panel";
0116                 port {
0117                         panel_in: endpoint {
0118                                 remote-endpoint = <&clcd_pads>;
0119                         };
0120                 };
0121         };
0122         chosen {
0123                 bootargs = "debug earlyprintk console=tty0 console=ttyAMA0,115200n8 root=/dev/ram0";
0124         };
0125 };