Daniel Tang | d907849 | 2013-06-11 18:40:18 +1000 | [diff] [blame] | 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 | memory { |
| 56 | device_type = "memory"; |
| 57 | reg = <0x10000000 0x2000000>; /* 32 MB */ |
| 58 | }; |
| 59 | |
| 60 | ahb { |
| 61 | #address-cells = <1>; |
| 62 | #size-cells = <1>; |
| 63 | |
| 64 | intc: interrupt-controller@DC000000 { |
| 65 | compatible = "lsi,zevio-intc"; |
| 66 | interrupt-controller; |
| 67 | reg = <0xDC000000 0x1000>; |
| 68 | #interrupt-cells = <1>; |
| 69 | }; |
| 70 | }; |
| 71 | chosen { |
| 72 | bootargs = "debug earlyprintk console=tty0 console=ttyS0,115200n8 root=/dev/ram0"; |
| 73 | }; |
| 74 | }; |