hip05-d02.dts 1.3 KB

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