zx296718-pcbox.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /*
  2. * Copyright (C) 2017 Sanechips Technology Co., Ltd.
  3. * Copyright 2017 Linaro Ltd.
  4. *
  5. * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  6. */
  7. /dts-v1/;
  8. #include "zx296718.dtsi"
  9. #include <dt-bindings/pwm/pwm.h>
  10. / {
  11. model = "ZTE ZX296718 PCBOX Board";
  12. compatible = "zte,zx296718-pcbox", "zte,zx296718";
  13. chosen {
  14. stdout-path = "serial0:115200n8";
  15. };
  16. memory@80000000 {
  17. device_type = "memory";
  18. reg = <0x80000000 0x80000000>;
  19. };
  20. a53_vdd0v9: regulator-a53 {
  21. compatible = "pwm-regulator";
  22. pwms = <&pwm 3 1250 PWM_POLARITY_INVERTED>;
  23. regulator-name = "A53_VDD0V9";
  24. regulator-min-microvolt = <855000>;
  25. regulator-max-microvolt = <1183000>;
  26. pwm-dutycycle-unit = <100>;
  27. pwm-dutycycle-range = <0 100>;
  28. regulator-always-on;
  29. regulator-boot-on;
  30. };
  31. sound-spdif0 {
  32. compatible = "audio-graph-card";
  33. dais = <&spdif0_port>;
  34. };
  35. sound-i2s0 {
  36. compatible = "audio-graph-card";
  37. dais = <&i2s0_port>;
  38. };
  39. };
  40. &aud96p22 {
  41. port {
  42. aud96p22_endpoint: endpoint {
  43. remote-endpoint = <&i2s0_endpoint>;
  44. };
  45. };
  46. };
  47. &cpu0 {
  48. cpu-supply = <&a53_vdd0v9>;
  49. };
  50. &emmc {
  51. status = "okay";
  52. };
  53. &hdmi {
  54. status = "disabled";
  55. port {
  56. hdmi_endpoint: endpoint {
  57. remote-endpoint = <&spdif0_endpoint>;
  58. };
  59. };
  60. };
  61. &i2c0 {
  62. status = "okay";
  63. };
  64. &i2s0 {
  65. status = "okay";
  66. i2s0_port: port {
  67. i2s0_endpoint: endpoint {
  68. remote-endpoint = <&aud96p22_endpoint>;
  69. dai-format = "i2s";
  70. frame-master;
  71. bitclock-master;
  72. };
  73. };
  74. };
  75. &irdec {
  76. status = "okay";
  77. };
  78. &pmm {
  79. pwm3_pins: pwm3 {
  80. pins = "KEY_ROW2";
  81. function = "PWM";
  82. };
  83. vga_pins: vga {
  84. pins = "KEY_COL1", "KEY_COL2", "VGA_HS", "VGA_VS";
  85. function = "VGA";
  86. };
  87. };
  88. &pwm {
  89. pinctrl-names = "default";
  90. pinctrl-0 = <&pwm3_pins>;
  91. status = "okay";
  92. };
  93. &sd0 {
  94. status = "okay";
  95. };
  96. &sd1 {
  97. status = "okay";
  98. };
  99. &spdif0 {
  100. status = "okay";
  101. spdif0_port: port {
  102. spdif0_endpoint: endpoint {
  103. remote-endpoint = <&hdmi_endpoint>;
  104. };
  105. };
  106. };
  107. &tvenc {
  108. status = "disabled";
  109. };
  110. &uart0 {
  111. status = "okay";
  112. };
  113. &vga {
  114. pinctrl-names = "default";
  115. pinctrl-0 = <&vga_pins>;
  116. status = "okay";
  117. };