picoxcell-pc7302-pc3x3.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * Copyright (C) 2011 Picochip, Jamie Iles
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. /dts-v1/;
  14. /include/ "picoxcell-pc3x3.dtsi"
  15. / {
  16. model = "Picochip PC7302 (PC3X3)";
  17. compatible = "picochip,pc7302-pc3x3", "picochip,pc3x3";
  18. memory {
  19. device_type = "memory";
  20. reg = <0x0 0x08000000>;
  21. };
  22. chosen {
  23. linux,stdout-path = &uart0;
  24. };
  25. clocks {
  26. ref_clk: clock@10 {
  27. compatible = "fixed-clock";
  28. clock-outputs = "ref";
  29. clock-frequency = <20000000>;
  30. };
  31. clkgate: clkgate@800a0048 {
  32. clock@4 {
  33. picochip,clk-no-disable;
  34. };
  35. };
  36. };
  37. rwid-axi {
  38. ebi@50000000 {
  39. nand: gpio-nand@2,0 {
  40. compatible = "gpio-control-nand";
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. reg = <2 0x0000 0x1000>;
  44. bus-clock = <&ebi_clk>, "bus";
  45. gpio-control-nand,io-sync-reg =
  46. <0x00000000 0x80220000>;
  47. gpios = <&banka 1 0 /* rdy */
  48. &banka 2 0 /* nce */
  49. &banka 3 0 /* ale */
  50. &banka 4 0 /* cle */
  51. 0 /* nwp */>;
  52. boot@100000 {
  53. label = "Boot";
  54. reg = <0x100000 0x80000>;
  55. };
  56. redundant-boot@200000 {
  57. label = "Redundant Boot";
  58. reg = <0x200000 0x80000>;
  59. };
  60. boot-env@300000 {
  61. label = "Boot Evironment";
  62. reg = <0x300000 0x20000>;
  63. };
  64. redundant-boot-env@320000 {
  65. label = "Redundant Boot Environment";
  66. reg = <0x300000 0x20000>;
  67. };
  68. kernel@380000 {
  69. label = "Kernel";
  70. reg = <0x380000 0x800000>;
  71. };
  72. fs@b80000 {
  73. label = "File System";
  74. reg = <0xb80000 0xf480000>;
  75. };
  76. };
  77. };
  78. };
  79. };