exynos5800-peach-pi.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. /*
  2. * SAMSUNG/GOOGLE Peach-Pit board device tree source
  3. *
  4. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+
  8. */
  9. /dts-v1/;
  10. #include "exynos54xx.dtsi"
  11. / {
  12. model = "Samsung/Google Peach Pi board based on Exynos5800";
  13. cpu-model = "Exynos5800";
  14. compatible = "google,pit-rev#", "google,pit",
  15. "google,peach", "samsung,exynos5800", "samsung,exynos5";
  16. config {
  17. google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
  18. hwid = "PIT TEST A-A 7848";
  19. lazy-init = <1>;
  20. };
  21. aliases {
  22. serial0 = "/serial@12C30000";
  23. console = "/serial@12C30000";
  24. pmic = "/i2c@12CA0000";
  25. i2c104 = &i2c_tunnel;
  26. };
  27. backlight: backlight {
  28. compatible = "pwm-backlight";
  29. pwms = <&pwm 0 1000000 0>;
  30. brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
  31. default-brightness-level = <7>;
  32. enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
  33. power-supply = <&tps65090_fet1>;
  34. };
  35. panel: panel {
  36. compatible = "auo,b133htn01";
  37. power-supply = <&tps65090_fet6>;
  38. backlight = <&backlight>;
  39. port {
  40. panel_in: endpoint {
  41. remote-endpoint = <&dp_out>;
  42. };
  43. };
  44. };
  45. dmc {
  46. mem-manuf = "samsung";
  47. mem-type = "ddr3";
  48. clock-frequency = <800000000>;
  49. arm-frequency = <900000000>;
  50. };
  51. tmu@10060000 {
  52. samsung,min-temp = <25>;
  53. samsung,max-temp = <125>;
  54. samsung,start-warning = <95>;
  55. samsung,start-tripping = <105>;
  56. samsung,hw-tripping = <110>;
  57. samsung,efuse-min-value = <40>;
  58. samsung,efuse-value = <55>;
  59. samsung,efuse-max-value = <100>;
  60. samsung,slope = <274761730>;
  61. samsung,dc-value = <25>;
  62. };
  63. /* MAX77802 is on i2c bus 4 */
  64. i2c@12CA0000 {
  65. clock-frequency = <400000>;
  66. power-regulator@9 {
  67. compatible = "maxim,max77802-pmic";
  68. reg = <0x9>;
  69. };
  70. };
  71. i2c@12CD0000 { /* i2c7 */
  72. clock-frequency = <100000>;
  73. soundcodec@20 {
  74. reg = <0x20>;
  75. compatible = "maxim,max98090-codec";
  76. };
  77. };
  78. sound@3830000 {
  79. samsung,codec-type = "max98090";
  80. };
  81. i2c@12E10000 { /* i2c9 */
  82. clock-frequency = <400000>;
  83. tpm@20 {
  84. compatible = "infineon,slb9645tt";
  85. reg = <0x20>;
  86. };
  87. };
  88. spi@12d30000 { /* spi1 */
  89. spi-max-frequency = <50000000>;
  90. firmware_storage_spi: flash@0 {
  91. reg = <0>;
  92. /*
  93. * A region for the kernel to store a panic event
  94. * which the firmware will add to the log.
  95. */
  96. elog-panic-event-offset = <0x01e00000 0x100000>;
  97. elog-shrink-size = <0x400>;
  98. elog-full-threshold = <0xc00>;
  99. };
  100. };
  101. xhci@12000000 {
  102. samsung,vbus-gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
  103. };
  104. xhci@12400000 {
  105. samsung,vbus-gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
  106. };
  107. fimd@14400000 {
  108. samsung,vl-freq = <60>;
  109. samsung,vl-col = <1920>;
  110. samsung,vl-row = <1080>;
  111. samsung,vl-width = <1920>;
  112. samsung,vl-height = <1080>;
  113. samsung,vl-clkp;
  114. samsung,vl-dp;
  115. samsung,vl-bpix = <4>;
  116. samsung,vl-hspw = <80>;
  117. samsung,vl-hbpd = <172>;
  118. samsung,vl-hfpd = <60>;
  119. samsung,vl-vspw = <10>;
  120. samsung,vl-vbpd = <25>;
  121. samsung,vl-vfpd = <10>;
  122. samsung,vl-cmd-allow-len = <0xf>;
  123. samsung,power-on-delay = <30000>;
  124. samsung,winid = <3>;
  125. samsung,interface-mode = <1>;
  126. samsung,dp-enabled = <1>;
  127. samsung,dual-lcd-enabled = <0>;
  128. samsung,bl-en-gpio = <&gpx2 2 GPIO_ACTIVE_HIGH>;
  129. };
  130. };
  131. &dp {
  132. status = "okay";
  133. samsung,color-space = <0>;
  134. samsung,dynamic-range = <0>;
  135. samsung,ycbcr-coeff = <0>;
  136. samsung,color-depth = <1>;
  137. samsung,link-rate = <0x0a>;
  138. samsung,lane-count = <2>;
  139. samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
  140. ports {
  141. port {
  142. dp_out: endpoint {
  143. remote-endpoint = <&panel_in>;
  144. };
  145. };
  146. };
  147. };
  148. &spi_2 {
  149. spi-max-frequency = <3125000>;
  150. spi-deactivate-delay = <200>;
  151. status = "okay";
  152. num-cs = <1>;
  153. samsung,spi-src-clk = <0>;
  154. cs-gpios = <&gpb1 2 0>;
  155. cros_ec: cros-ec@0 {
  156. compatible = "google,cros-ec-spi";
  157. interrupt-parent = <&gpx1>;
  158. interrupts = <5 0>;
  159. reg = <0>;
  160. spi-half-duplex;
  161. spi-max-timeout-ms = <1100>;
  162. ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>;
  163. /*
  164. * This describes the flash memory within the EC. Note
  165. * that the STM32L flash erases to 0, not 0xff.
  166. */
  167. #address-cells = <1>;
  168. #size-cells = <1>;
  169. flash@8000000 {
  170. reg = <0x08000000 0x20000>;
  171. erase-value = <0>;
  172. };
  173. controller-data {
  174. samsung,spi-feedback-delay = <1>;
  175. };
  176. i2c_tunnel: i2c-tunnel {
  177. compatible = "google,cros-ec-i2c-tunnel";
  178. #address-cells = <1>;
  179. #size-cells = <0>;
  180. google,remote-bus = <0>;
  181. battery: sbs-battery@b {
  182. compatible = "sbs,sbs-battery";
  183. reg = <0xb>;
  184. sbs,poll-retry-count = <1>;
  185. sbs,i2c-retry-count = <2>;
  186. };
  187. power-regulator@48 {
  188. compatible = "ti,tps65090";
  189. reg = <0x48>;
  190. regulators {
  191. tps65090_dcdc1: dcdc1 {
  192. ti,enable-ext-control;
  193. };
  194. tps65090_dcdc2: dcdc2 {
  195. ti,enable-ext-control;
  196. };
  197. tps65090_dcdc3: dcdc3 {
  198. ti,enable-ext-control;
  199. };
  200. tps65090_fet1: fet1 {
  201. regulator-name = "vcd_led";
  202. };
  203. tps65090_fet2: fet2 {
  204. regulator-name = "video_mid";
  205. regulator-always-on;
  206. };
  207. tps65090_fet3: fet3 {
  208. regulator-name = "wwan_r";
  209. regulator-always-on;
  210. };
  211. tps65090_fet4: fet4 {
  212. regulator-name = "sdcard";
  213. regulator-always-on;
  214. };
  215. tps65090_fet5: fet5 {
  216. regulator-name = "camout";
  217. regulator-always-on;
  218. };
  219. tps65090_fet6: fet6 {
  220. regulator-name = "lcd_vdd";
  221. };
  222. tps65090_fet7: fet7 {
  223. regulator-name = "video_mid_1a";
  224. regulator-always-on;
  225. };
  226. tps65090_ldo1: ldo1 {
  227. };
  228. tps65090_ldo2: ldo2 {
  229. };
  230. };
  231. charger {
  232. compatible = "ti,tps65090-charger";
  233. };
  234. };
  235. };
  236. };
  237. };
  238. #include "cros-ec-keyboard.dtsi"