MZK-WDPR.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. #include <dt-bindings/gpio/gpio.h>
  4. / {
  5. compatible = "planex,mzk-wdpr", "ralink,rt3052-soc";
  6. model = "Planex MZK-WDPR";
  7. chosen {
  8. bootargs = "console=ttyS0,115200";
  9. };
  10. cfi@1f000000 {
  11. compatible = "cfi-flash";
  12. reg = <0x1f000000 0x800000>;
  13. bank-width = <2>;
  14. device-width = <2>;
  15. partitions {
  16. compatible = "fixed-partitions";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. partition@0 {
  20. label = "u-boot";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. partition@30000 {
  25. label = "u-boot-env";
  26. reg = <0x30000 0x10000>;
  27. read-only;
  28. };
  29. factory: partition@40000 {
  30. label = "factory";
  31. reg = <0x40000 0x10000>;
  32. read-only;
  33. };
  34. partition@7f0000 {
  35. label = "Data3G";
  36. reg = <0x7f0000 0x10000>;
  37. read-only;
  38. };
  39. partition@50000 {
  40. compatible = "denx,uimage";
  41. label = "firmware";
  42. reg = <0x50000 0x680000>;
  43. };
  44. };
  45. };
  46. gpio-export {
  47. compatible = "gpio-export";
  48. lcd_ctrl1 {
  49. gpio-export,name = "lcd_ctrl1";
  50. gpio-export,output = <0>;
  51. gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
  52. };
  53. };
  54. };
  55. &pinctrl {
  56. state_default: pinctrl0 {
  57. gpio {
  58. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  59. ralink,function = "gpio";
  60. };
  61. };
  62. };
  63. &ethernet {
  64. mtd-mac-address = <&factory 0x28>;
  65. };
  66. &esw {
  67. mediatek,portmap = <0x2f>;
  68. };
  69. &wmac {
  70. ralink,mtd-eeprom = <&factory 0>;
  71. };
  72. &otg {
  73. status = "okay";
  74. };