kirkwood-topkick.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /dts-v1/;
  2. /include/ "kirkwood.dtsi"
  3. / {
  4. model = "Univeral Scientific Industrial Co. Topkick-1281P2";
  5. compatible = "usi,topkick-1281P2", "usi,topkick", "marvell,kirkwood-88f6282", "marvell,kirkwood";
  6. memory {
  7. device_type = "memory";
  8. reg = <0x00000000 0x10000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,115200n8 earlyprintk";
  12. };
  13. ocp@f1000000 {
  14. serial@12000 {
  15. clock-frequency = <200000000>;
  16. status = "ok";
  17. };
  18. nand@3000000 {
  19. status = "okay";
  20. partition@0 {
  21. label = "u-boot";
  22. reg = <0x0000000 0x180000>;
  23. };
  24. partition@180000 {
  25. label = "u-boot env";
  26. reg = <0x0180000 0x20000>;
  27. };
  28. partition@200000 {
  29. label = "uImage";
  30. reg = <0x0200000 0x600000>;
  31. };
  32. partition@800000 {
  33. label = "uInitrd";
  34. reg = <0x0800000 0x1000000>;
  35. };
  36. partition@1800000 {
  37. label = "rootfs";
  38. reg = <0x1800000 0xe800000>;
  39. };
  40. };
  41. sata@80000 {
  42. status = "okay";
  43. nr-ports = <1>;
  44. };
  45. };
  46. gpio-leds {
  47. compatible = "gpio-leds";
  48. disk {
  49. label = "topkick:yellow:disk";
  50. gpios = <&gpio0 21 1>;
  51. linux,default-trigger = "ide-disk";
  52. };
  53. system2 {
  54. label = "topkick:red:system";
  55. gpios = <&gpio1 5 1>;
  56. };
  57. system {
  58. label = "topkick:blue:system";
  59. gpios = <&gpio1 6 1>;
  60. default-state = "on";
  61. };
  62. wifi {
  63. label = "topkick:green:wifi";
  64. gpios = <&gpio1 7 1>;
  65. };
  66. wifi2 {
  67. label = "topkick:yellow:wifi";
  68. gpios = <&gpio1 16 1>;
  69. };
  70. };
  71. regulators {
  72. compatible = "simple-bus";
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. sata0_power: regulator@1 {
  76. compatible = "regulator-fixed";
  77. reg = <1>;
  78. regulator-name = "SATA0 Power";
  79. regulator-min-microvolt = <5000000>;
  80. regulator-max-microvolt = <5000000>;
  81. enable-active-high;
  82. regulator-always-on;
  83. regulator-boot-on;
  84. gpio = <&gpio1 4 0>;
  85. };
  86. };
  87. };