BROADWAY.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. #include <dt-bindings/gpio/gpio.h>
  4. #include <dt-bindings/input/input.h>
  5. / {
  6. compatible = "hauppauge,broadway", "ralink,rt3052-soc";
  7. model = "Hauppauge Broadway";
  8. cfi@1f000000 {
  9. compatible = "cfi-flash";
  10. reg = <0x1f000000 0x800000>;
  11. bank-width = <2>;
  12. device-width = <2>;
  13. partitions {
  14. compatible = "fixed-partitions";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. partition@0 {
  18. label = "bootloader";
  19. reg = <0x0 0x30000>;
  20. read-only;
  21. };
  22. partition@30000 {
  23. label = "config";
  24. reg = <0x30000 0x10000>;
  25. read-only;
  26. };
  27. factory: partition@40000 {
  28. label = "factory";
  29. reg = <0x40000 0x10000>;
  30. read-only;
  31. };
  32. partition@50000 {
  33. compatible = "denx,uimage";
  34. label = "firmware";
  35. reg = <0x50000 0x790000>;
  36. };
  37. };
  38. };
  39. leds {
  40. compatible = "gpio-leds";
  41. diskmounted {
  42. label = "broadway:red:diskmounted";
  43. gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
  44. trigger-sources = <&otg_port1>;
  45. linux,default-trigger = "usbport";
  46. };
  47. wps_active {
  48. label = "broadway:red:wps_active";
  49. gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
  50. };
  51. };
  52. keys {
  53. compatible = "gpio-keys-polled";
  54. poll-interval = <20>;
  55. factory {
  56. label = "Factory Reset button";
  57. gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
  58. linux,code = <KEY_RESTART>;
  59. };
  60. };
  61. };
  62. &pinctrl {
  63. state_default: pinctrl0 {
  64. gpio {
  65. ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
  66. ralink,function = "gpio";
  67. };
  68. };
  69. };
  70. &ethernet {
  71. mtd-mac-address = <&factory 0x4>;
  72. };
  73. &esw {
  74. mediatek,portmap = <0x3e>;
  75. };
  76. &wmac {
  77. ralink,mtd-eeprom = <&factory 0>;
  78. };
  79. &otg {
  80. status = "okay";
  81. };