ACMP252.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /dts-v1/;
  2. #include "danube.dtsi"
  3. / {
  4. compatible = "audiocodes,mp-252", "lantiq,xway", "lantiq,danube";
  5. model = "AudioCodes MediaPack MP-252";
  6. chosen {
  7. bootargs = "console=ttyLTQ0,115200";
  8. };
  9. memory@0 {
  10. reg = <0x0 0x4000000>;
  11. };
  12. usb_vbus: regulator-usb-vbus {
  13. compatible = "regulator-fixed";
  14. regulator-name = "USB_VBUS";
  15. regulator-min-microvolt = <5000000>;
  16. regulator-max-microvolt = <5000000>;
  17. gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
  18. enable-active-high;
  19. };
  20. };
  21. &gpio {
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&state_default>;
  24. state_default: pinmux {
  25. exin {
  26. lantiq,groups = "exin1";
  27. lantiq,function = "exin";
  28. };
  29. pci {
  30. lantiq,groups = "gnt1", "req1";
  31. lantiq,function = "pci";
  32. };
  33. };
  34. };
  35. &gsw {
  36. phy-mode = "rmii";
  37. };
  38. &localbus {
  39. nor@0 {
  40. compatible = "lantiq,nor";
  41. bank-width = <2>;
  42. reg = <0 0x0 0x2000000>;
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. partitions {
  46. compatible = "fixed-partitions";
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. partition@0 {
  50. label = "uboot";
  51. reg = <0x0 0x20000>;
  52. read-only;
  53. };
  54. partition@20000 {
  55. label = "uboot_env";
  56. reg = <0x20000 0x20000>;
  57. };
  58. partition@40000 {
  59. label = "boardconfig";
  60. reg = <0x40000 0x60000>;
  61. read-only;
  62. };
  63. partition@a0000 {
  64. label = "firmware";
  65. reg = <0xa0000 0xf20000>;
  66. };
  67. partition@fc0000 {
  68. label = "sysconfig";
  69. reg = <0xfc0000 0x40000>;
  70. };
  71. partition@0x1000000 {
  72. label = "rootfs_data";
  73. reg = <0x1000000 0x1000000>;
  74. };
  75. };
  76. };
  77. };
  78. &pci0 {
  79. status = "okay";
  80. };
  81. &usb_phy {
  82. status = "okay";
  83. };
  84. &usb {
  85. status = "okay";
  86. vbus-supply = <&usb_vbus>;
  87. };
  88. &vmmc {
  89. status = "okay";
  90. gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
  91. };