CARAMBOLA.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. pinctrl {
  10. state_default: pinctrl0 {
  11. gpio {
  12. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  13. ralink,function = "gpio";
  14. };
  15. };
  16. };
  17. cfi@1f000000 {
  18. compatible = "cfi-flash";
  19. reg = <0x1f000000 0x800000>;
  20. bank-width = <2>;
  21. device-width = <2>;
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0 0x30000>;
  27. read-only;
  28. };
  29. partition@30000 {
  30. label = "u-boot-env";
  31. reg = <0x30000 0x10000>;
  32. read-only;
  33. };
  34. factory: partition@40000 {
  35. label = "factory";
  36. reg = <0x40000 0x10000>;
  37. read-only;
  38. };
  39. partition@50000 {
  40. label = "firmware";
  41. reg = <0x50000 0x7b0000>;
  42. };
  43. };
  44. ethernet@10100000 {
  45. mtd-mac-address = <&factory 0x28>;
  46. };
  47. esw@10110000 {
  48. ralink,portmap = <0x3f>;
  49. };
  50. wmac@10180000 {
  51. ralink,mtd-eeprom = <&factory 0>;
  52. };
  53. otg@101c0000 {
  54. status = "okay";
  55. };
  56. i2c-gpio {
  57. compatible = "i2c-gpio";
  58. gpios = <&gpio0 1 0 &gpio0 2 0>;
  59. i2c-gpio,delay-us = <10>;
  60. };
  61. };