hip05-d02.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /**
  2. * dts file for Hisilicon D02 Development Board
  3. *
  4. * Copyright (C) 2014,2015 Hisilicon Ltd.
  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. * publishhed by the Free Software Foundation.
  9. *
  10. */
  11. /dts-v1/;
  12. #include <dt-bindings/gpio/gpio.h>
  13. #include "hip05.dtsi"
  14. / {
  15. model = "Hisilicon Hip05 D02 Development Board";
  16. compatible = "hisilicon,hip05-d02";
  17. memory@0 {
  18. device_type = "memory";
  19. reg = <0x0 0x00000000 0x0 0x80000000>;
  20. };
  21. aliases {
  22. serial0 = &uart0;
  23. };
  24. chosen {
  25. stdout-path = "serial0:115200n8";
  26. };
  27. gpio_keys {
  28. compatible = "gpio-keys";
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. pwrbutton {
  32. label = "Power Button";
  33. gpios = <&porta 8 GPIO_ACTIVE_LOW>;
  34. linux,code = <116>;
  35. debounce-interval = <0>;
  36. };
  37. };
  38. };
  39. &uart0 {
  40. status = "ok";
  41. };
  42. &peri_gpio0 {
  43. status = "ok";
  44. };
  45. &lbc {
  46. status = "ok";
  47. #address-cells = <2>;
  48. #size-cells = <1>;
  49. ranges = <0 0 0x0 0x90000000 0x08000000>,
  50. <1 0 0x0 0x98000000 0x08000000>;
  51. nor-flash@0,0 {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. compatible = "numonyx,js28f00a", "cfi-flash";
  55. reg = <0 0x0 0x08000000>;
  56. bank-width = <2>;
  57. /* The three parts may not used */
  58. partition@0 {
  59. label = "BIOS";
  60. reg = <0x0 0x300000>;
  61. };
  62. partition@300000 {
  63. label = "Linux";
  64. reg = <0x300000 0xa00000>;
  65. };
  66. partition@1000000 {
  67. label = "Rootfs";
  68. reg = <0x01000000 0x02000000>;
  69. };
  70. };
  71. cpld@1,0 {
  72. compatible = "hisilicon,hip05-cpld";
  73. reg = <1 0x0 0x100>;
  74. };
  75. };