2
0

GIGASX76X.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /dts-v1/;
  2. #include "danube.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. compatible = "siemens,gigaset-sx76x", "lantiq,xway", "lantiq,danube";
  6. model = "Gigaset SX761,SX762,SX763";
  7. chosen {
  8. bootargs = "console=ttyLTQ0,115200";
  9. };
  10. memory@0 {
  11. reg = <0x0 0x2000000>;
  12. };
  13. gpio-keys-polled {
  14. compatible = "gpio-keys-polled";
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. poll-interval = <100>;
  18. reset {
  19. label = "reset";
  20. gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
  21. linux,code = <KEY_RESTART>;
  22. };
  23. };
  24. gpio_export {
  25. compatible = "gpio-export";
  26. #size-cells = <0>;
  27. switch {
  28. gpio-export,name = "switch";
  29. gpio-export,output = <1>;
  30. gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
  31. };
  32. };
  33. usb_vbus: regulator-usb-vbus {
  34. compatible = "regulator-fixed";
  35. regulator-name = "USB_VBUS";
  36. regulator-min-microvolt = <5000000>;
  37. regulator-max-microvolt = <5000000>;
  38. gpio = <&gpio 29 GPIO_ACTIVE_HIGH>;
  39. enable-active-high;
  40. };
  41. };
  42. &gpio {
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&state_default>;
  45. state_default: pinmux {
  46. stp {
  47. lantiq,groups = "stp";
  48. lantiq,function = "stp";
  49. };
  50. };
  51. };
  52. &gpiomm {
  53. status = "okay";
  54. lantiq,shadow = <0x3>;
  55. };
  56. &gpios {
  57. status = "okay";
  58. };
  59. &gsw {
  60. phy-mode = "rmii";
  61. };
  62. &localbus {
  63. nor@0 {
  64. compatible = "lantiq,nor";
  65. bank-width = <2>;
  66. reg = <0 0x0 0x2000000>;
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. partitions {
  70. compatible = "fixed-partitions";
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. partition@0 {
  74. label = "uboot";
  75. reg = <0x0 0x30000>;
  76. };
  77. partition@10000 {
  78. label = "uboot_env";
  79. reg = <0x30000 0x10000>;
  80. };
  81. partition@40000 {
  82. label = "firmware";
  83. reg = <0x40000 0x7c0000>;
  84. };
  85. };
  86. };
  87. };
  88. &pci0 {
  89. status = "okay";
  90. gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
  91. };
  92. &usb_phy {
  93. status = "okay";
  94. };
  95. &usb {
  96. status = "okay";
  97. vbus-supply = <&usb_vbus>;
  98. };
  99. &vmmc {
  100. status = "okay";
  101. gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>;
  102. };