Advertisement
Guest User

GT-S7580 Prelim DTS

a guest
Feb 3rd, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2014 Broadcom Corporation
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation version 2.
  7. *
  8. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  9. * kind, whether express or implied; without even the implied warranty
  10. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. /*
  14. This file is a modification of the BCM21664-garnet.dts based on samsung's
  15. Non-standard GT-7390 KYLEVE dts's (hawaii_ss_kylevess_rev00.dts available from
  16. www.opensource.samsung.com
  17. */
  18.  
  19. /dts-v1/;
  20.  
  21. #include <dt-bindings/gpio/gpio.h>
  22.  
  23. #include "bcm21664.dtsi"
  24. #include "bcm59056.dtsi"
  25.  
  26. / {
  27. model = "Hawaii SS Kylepro Rev00";
  28. compatible = "brcm,hawaii","brcm,bcm21664-garnet", "brcm,bcm21664";
  29. /*FROM 7390 BOARD FILE*/
  30. chosen {
  31. bootargs = "console=ttyS2,115200n8 mem=736M gpt pmem=200M carveout=32M androidboot.console=ttyS2 crash_ramdump=1 logbuf_nocache=1";
  32. };
  33.  
  34. memory@82000000 {
  35. reg = <0x82000000 0x2e000000>; /* 736 MB */
  36. };
  37.  
  38. wd-tapper {
  39. compatible = "brcm,wd-tapper";
  40. count = <300>; /* Time in seconds */
  41. ch-num = <1>; /* Kona hub timer Channel number */
  42. timer-name = "aon-timer";
  43. };
  44.  
  45. uart@3e000000 {
  46. status = "okay";
  47. clock-frequency = <48000000>;
  48. port-name = "bluetooth";
  49. clk-name = "uartb"
  50. };
  51.  
  52. uart@3e001000 {
  53. status = "okay";
  54. clock-frequency = <26000000>;
  55. port-name = "gps";
  56. clk-name = "uartb2";
  57. };
  58.  
  59. uart@3e002000 {
  60. status = "okay";
  61. clock-frequency = <26000000>;
  62. port-name = "console";
  63. clk-name = "uartb3";
  64. };
  65.  
  66. i2c0: i2c@3e016000 {
  67. status = "okay";
  68. speed = <5>; /* BSC_BUS_SPEED_400 K */
  69. dynamic-speed = <1>;
  70. bsc-clk = "bsc1_clk";
  71. bsc-apb-clk = "bsc1_apb_clk";
  72. retries = <1>;
  73. is-pmu-i2c = <0>;
  74. fs-ref-frequency = <13000000>;
  75. hs-ref-frequency = <104000000>;
  76. };
  77.  
  78. i2c1: i2c@3e017000 {
  79. status = "okay";
  80. speed = <5>; /* BSC_BUS_SPEED_400 K */
  81. dynamic-speed = <1>;
  82. bsc-clk = "bsc2_clk";
  83. bsc-apb-clk = "bsc2_apb_clk";
  84. retries = <3>;
  85. is-pmu-i2c = <0>;
  86. fs-ref-frequency = <13000000>;
  87. hs-ref-frequency = <104000000>;
  88. };
  89.  
  90. i2c2: i2c@3e018000 {
  91. status = "okay";
  92. speed = <5>; /* BSC_BUS_SPEED_400 K */
  93. dynamic-speed = <1>;
  94. bsc-clk = "bsc3_clk";
  95. bsc-apb-clk = "bsc3_apb_clk";
  96. retries = <1>;
  97. is-pmu-i2c = <0>;
  98. fs-ref-frequency = <13000000>;
  99. hs-ref-frequency = <104000000>;
  100. };
  101.  
  102. i2c3: i2c@3e01c000 {
  103. status = "okay";
  104. speed = <5>; /* BSC_BUS_SPEED_400 K */
  105. dynamic-speed = <1>;
  106. bsc-clk = "bsc4_clk";
  107. bsc-apb-clk = "bsc4_apb_clk";
  108. retries = <1>;
  109. is-pmu-i2c = <0>;
  110. fs-ref-frequency = <13000000>;
  111. hs-ref-frequency = <104000000>;
  112. };
  113.  
  114. i2c4: i2c@3500d000 {
  115. status = "okay";
  116. speed = <7>; /* BSC_BUS_SPEED_HS */
  117. dynamic-speed = <0>;
  118. bsc-clk = "pmu_bsc_clk";
  119. bsc-apb-clk = "pmu_bsc_apb";
  120. retries = <5>;
  121. is-pmu-i2c = <1>;
  122. fs-ref-frequency = <13000000>;
  123. hs-ref-frequency = <26000000>;
  124. };
  125.  
  126. sdio1: sdio@3f180000 {
  127. max-frequency = <48000000>;
  128. status = "okay";
  129. };
  130.  
  131. sdio2: sdio@3f190000 {
  132. non-removable;
  133. max-frequency = <48000000>;
  134. status = "okay";
  135. };
  136.  
  137. sdio4: sdio@3f1b0000 {
  138. max-frequency = <48000000>;
  139. cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>;
  140. status = "okay";
  141. };
  142.  
  143. usbotg: usb@3f120000 {
  144. status = "okay";
  145. };
  146.  
  147. usbphy: usb-phy@3f130000 {
  148. status = "okay";
  149. };
  150. /*should probably be inside 21664.dtsi*/
  151. kona-fb {
  152. compatible = "brcm,kona-fb";
  153. reg = <0x3c200000 0x1000>;
  154. module-name = "NT35510";
  155. boot-mode = <0>;
  156. bus-type = <2>;
  157. bus-no = <1>;
  158. bus-ch = <1>;
  159. bus-width = <3>;
  160. te-input = <2>;
  161. col-mod-i = <1>;
  162. col-mod-o = <4>;
  163. api-rev = <0x10>;
  164. rst = <22>;
  165. };
  166.  
  167. kona-fb-2 {
  168. compatible = "brcm,kona-fb";
  169. reg = <0x3c200000 0x1000>;
  170. }
  171.  
  172. tmon@0x34008000 {
  173. compatible = "brcm,tmon";
  174. reg = <0x34008000 0x1000>;
  175. interrupts = <0 183 4>;
  176. chipreg_addr = <0x35004000 0x1000>;
  177. thold_size = <3>; /*number of threshold levels*/
  178. poll_rate_ms = <30000>;
  179. hysteresis = <0>;
  180. flags = <1>;
  181. interval_ms = <5>;
  182. thold = <85 75 1
  183. 100 90 1
  184. 115 112 2>;
  185. tmon_apb_clk = "tmon_apb";
  186. tmon_1m_clk = "tmon_1m_clk";
  187. };
  188.  
  189. memc@35008000 {
  190. compatible = "brcm,memc";
  191. reg = <0x35008000 0x1000>;
  192. flags = <0x3B>;
  193. chipreg_base = <0x35004000 0x1000>;
  194. memc0_aphy_base = <0x35008400 0x1000>;
  195. seq_busy_val = <2>;
  196. max_pwr = <3>;
  197. };
  198.  
  199. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement