BC2.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "BC2", "ralink,rt3052-soc";
  5. model = "NexAira BC2";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
  9. ralink,gpiomux = "jtag";
  10. ralink,uartmux = "gpio";
  11. ralink,wdtmux = <1>;
  12. };
  13. gpio0: gpio@600 {
  14. status = "okay";
  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. gpio-leds {
  45. compatible = "gpio-leds";
  46. usb {
  47. label = "bc2:blue:usb";
  48. gpios = <&gpio0 20 1>;
  49. };
  50. };
  51. gpio-keys-polled {
  52. compatible = "gpio-keys-polled";
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. poll-interval = <20>;
  56. reset {
  57. label = "reset";
  58. gpios = <&gpio0 17 1>;
  59. linux,code = <0x198>;
  60. };
  61. };
  62. ethernet@10100000 {
  63. status = "okay";
  64. };
  65. esw@10110000 {
  66. status = "okay";
  67. ralink,portmap = <0x2f>;
  68. };
  69. wmac@10180000 {
  70. status = "okay";
  71. };
  72. otg@101c0000 {
  73. status = "okay";
  74. };
  75. };