nspire-cx.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * linux/arch/arm/boot/nspire-cx.dts
  4. *
  5. * Copyright (C) 2013 Daniel Tang <[email protected]>
  6. */
  7. /dts-v1/;
  8. /include/ "nspire.dtsi"
  9. &lcd {
  10. port {
  11. clcd_pads: endpoint {
  12. remote-endpoint = <&panel_in>;
  13. };
  14. };
  15. };
  16. &fast_timer {
  17. /* compatible = "arm,sp804", "arm,primecell"; */
  18. };
  19. &uart {
  20. compatible = "arm,pl011", "arm,primecell";
  21. clocks = <&uart_clk>, <&apb_pclk>;
  22. clock-names = "uart_clk", "apb_pclk";
  23. };
  24. &timer0 {
  25. compatible = "arm,sp804", "arm,primecell";
  26. };
  27. &timer1 {
  28. compatible = "arm,sp804", "arm,primecell";
  29. };
  30. &base_clk {
  31. compatible = "lsi,nspire-cx-clock";
  32. };
  33. &ahb_clk {
  34. compatible = "lsi,nspire-cx-ahb-divider";
  35. };
  36. &keypad {
  37. linux,keymap = <
  38. 0x0000001c 0x0001001c 0x00040039
  39. 0x0005002c 0x00060015 0x0007000b
  40. 0x0008000f 0x0100002d 0x01010011
  41. 0x0102002f 0x01030004 0x01040016
  42. 0x01050014 0x0106001f 0x01070002
  43. 0x010a006a 0x02000013 0x02010010
  44. 0x02020019 0x02030007 0x02040018
  45. 0x02050031 0x02060032 0x02070005
  46. 0x02080028 0x0209006c 0x03000026
  47. 0x03010025 0x03020024 0x0303000a
  48. 0x03040017 0x03050023 0x03060022
  49. 0x03070008 0x03080035 0x03090069
  50. 0x04000021 0x04010012 0x04020020
  51. 0x0404002e 0x04050030 0x0406001e
  52. 0x0407000d 0x04080037 0x04090067
  53. 0x05010038 0x0502000c 0x0503001b
  54. 0x05040034 0x0505001a 0x05060006
  55. 0x05080027 0x0509000e 0x050a006f
  56. 0x0600002b 0x0602004e 0x06030068
  57. 0x06040003 0x0605006d 0x06060009
  58. 0x06070001 0x0609000f 0x0708002a
  59. 0x0709001d 0x070a0033 >;
  60. };
  61. &vbus_reg {
  62. gpio = <&gpio 2 0>;
  63. };
  64. / {
  65. model = "TI-NSPIRE CX";
  66. compatible = "ti,nspire-cx";
  67. memory {
  68. device_type = "memory";
  69. reg = <0x10000000 0x4000000>; /* 64 MB */
  70. };
  71. uart_clk: uart_clk {
  72. #clock-cells = <0>;
  73. compatible = "fixed-clock";
  74. clock-frequency = <12000000>;
  75. };
  76. ahb {
  77. #address-cells = <1>;
  78. #size-cells = <1>;
  79. intc: interrupt-controller@dc000000 {
  80. compatible = "arm,pl190-vic";
  81. interrupt-controller;
  82. reg = <0xdc000000 0x1000>;
  83. #interrupt-cells = <1>;
  84. };
  85. apb@90000000 {
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. i2c@90050000 {
  89. compatible = "snps,designware-i2c";
  90. reg = <0x90050000 0x1000>;
  91. interrupts = <20>;
  92. };
  93. };
  94. };
  95. panel {
  96. compatible = "ti,nspire-cx-lcd-panel";
  97. port {
  98. panel_in: endpoint {
  99. remote-endpoint = <&clcd_pads>;
  100. };
  101. };
  102. };
  103. chosen {
  104. bootargs = "debug earlyprintk console=tty0 console=ttyAMA0,115200n8 root=/dev/ram0";
  105. };
  106. };