CARAMBOLA.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. / {
  4. compatible = "CARAMBOLA", "ralink,rt3050-soc";
  5. model = "8devices Carambola";
  6. chosen {
  7. bootargs = "console=ttyS0,115200";
  8. };
  9. cfi@1f000000 {
  10. compatible = "cfi-flash";
  11. reg = <0x1f000000 0x800000>;
  12. bank-width = <2>;
  13. device-width = <2>;
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x7b0000>;
  34. };
  35. };
  36. i2c-gpio {
  37. compatible = "i2c-gpio";
  38. gpios = <&gpio0 1 0 &gpio0 2 0>;
  39. i2c-gpio,delay-us = <10>;
  40. };
  41. };
  42. &pinctrl {
  43. state_default: pinctrl0 {
  44. gpio {
  45. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  46. ralink,function = "gpio";
  47. };
  48. };
  49. };
  50. &ethernet {
  51. mtd-mac-address = <&factory 0x28>;
  52. };
  53. &esw {
  54. mediatek,portmap = <0x3f>;
  55. };
  56. &wmac {
  57. ralink,mtd-eeprom = <&factory 0>;
  58. };
  59. &otg {
  60. status = "okay";
  61. };