GIGASX76X.dts 2.0 KB

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