chromebook_link.dts 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/x86-gpio.h>
  3. /include/ "skeleton.dtsi"
  4. /include/ "keyboard.dtsi"
  5. /include/ "serial.dtsi"
  6. /include/ "rtc.dtsi"
  7. /include/ "tsc_timer.dtsi"
  8. /include/ "coreboot_fb.dtsi"
  9. / {
  10. model = "Google Link";
  11. compatible = "google,link", "intel,celeron-ivybridge";
  12. aliases {
  13. spi0 = &spi;
  14. usb0 = &usb_0;
  15. usb1 = &usb_1;
  16. };
  17. config {
  18. silent_console = <0>;
  19. };
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. u-boot,dm-pre-reloc;
  24. cpu@0 {
  25. device_type = "cpu";
  26. compatible = "intel,core-gen3";
  27. reg = <0>;
  28. intel,apic-id = <0>;
  29. u-boot,dm-pre-reloc;
  30. };
  31. cpu@1 {
  32. device_type = "cpu";
  33. compatible = "intel,core-gen3";
  34. reg = <1>;
  35. intel,apic-id = <1>;
  36. u-boot,dm-pre-reloc;
  37. };
  38. cpu@2 {
  39. device_type = "cpu";
  40. compatible = "intel,core-gen3";
  41. reg = <2>;
  42. intel,apic-id = <2>;
  43. u-boot,dm-pre-reloc;
  44. };
  45. cpu@3 {
  46. device_type = "cpu";
  47. compatible = "intel,core-gen3";
  48. reg = <3>;
  49. intel,apic-id = <3>;
  50. u-boot,dm-pre-reloc;
  51. };
  52. };
  53. chosen {
  54. stdout-path = "/serial";
  55. };
  56. keyboard {
  57. intel,duplicate-por;
  58. };
  59. pch_pinctrl {
  60. compatible = "intel,x86-pinctrl";
  61. u-boot,dm-pre-reloc;
  62. reg = <0 0>;
  63. gpio_a0 {
  64. gpio-offset = <0 0>;
  65. mode-gpio;
  66. direction = <PIN_INPUT>;
  67. };
  68. gpio_a1 {
  69. gpio-offset = <0>;
  70. mode-gpio;
  71. direction = <PIN_OUTPUT>;
  72. output-value = <1>;
  73. };
  74. gpio_a3 {
  75. gpio-offset = <0 3>;
  76. mode-gpio;
  77. direction = <PIN_INPUT>;
  78. };
  79. gpio_a5 {
  80. gpio-offset = <0 5>;
  81. mode-gpio;
  82. direction = <PIN_INPUT>;
  83. };
  84. gpio_a6 {
  85. gpio-offset = <0 6>;
  86. mode-gpio;
  87. direction = <PIN_OUTPUT>;
  88. output-value = <1>;
  89. };
  90. gpio_a7 {
  91. gpio-offset = <0 7>;
  92. mode-gpio;
  93. direction = <PIN_INPUT>;
  94. invert;
  95. };
  96. gpio_a8 {
  97. gpio-offset = <0 8>;
  98. mode-gpio;
  99. direction = <PIN_INPUT>;
  100. invert;
  101. };
  102. gpio_a9 {
  103. gpio-offset = <0 9>;
  104. mode-gpio;
  105. direction = <PIN_INPUT>;
  106. };
  107. gpio_a10 {
  108. u-boot,dm-pre-reloc;
  109. gpio-offset = <0 10>;
  110. mode-gpio;
  111. direction = <PIN_INPUT>;
  112. };
  113. gpio_a11 {
  114. gpio-offset = <0 11>;
  115. mode-gpio;
  116. direction = <PIN_INPUT>;
  117. };
  118. gpio_a12 {
  119. gpio-offset = <0 12>;
  120. mode-gpio;
  121. direction = <PIN_INPUT>;
  122. invert;
  123. };
  124. gpio_a14 {
  125. gpio-offset = <0 14>;
  126. mode-gpio;
  127. direction = <PIN_INPUT>;
  128. invert;
  129. };
  130. gpio_a15 {
  131. gpio-offset = <0 15>;
  132. mode-gpio;
  133. direction = <PIN_INPUT>;
  134. invert;
  135. };
  136. gpio_a21 {
  137. gpio-offset = <0 21>;
  138. mode-gpio;
  139. direction = <PIN_INPUT>;
  140. };
  141. gpio_a24 {
  142. gpio-offset = <0 24>;
  143. mode-gpio;
  144. output-value = <0>;
  145. direction = <PIN_OUTPUT>;
  146. };
  147. gpio_a28 {
  148. gpio-offset = <0 28>;
  149. mode-gpio;
  150. direction = <PIN_INPUT>;
  151. };
  152. gpio_b4 {
  153. gpio-offset = <0x30 4>;
  154. mode-gpio;
  155. direction = <PIN_OUTPUT>;
  156. output-value = <1>;
  157. };
  158. gpio_b9 {
  159. u-boot,dm-pre-reloc;
  160. gpio-offset = <0x30 9>;
  161. mode-gpio;
  162. direction = <PIN_INPUT>;
  163. };
  164. gpio_b10 {
  165. u-boot,dm-pre-reloc;
  166. gpio-offset = <0x30 10>;
  167. mode-gpio;
  168. direction = <PIN_INPUT>;
  169. };
  170. gpio_b11 {
  171. u-boot,dm-pre-reloc;
  172. gpio-offset = <0x30 11>;
  173. mode-gpio;
  174. direction = <PIN_INPUT>;
  175. };
  176. gpio_b25 {
  177. gpio-offset = <0x30 25>;
  178. mode-gpio;
  179. direction = <PIN_INPUT>;
  180. };
  181. gpio_b28 {
  182. gpio-offset = <0x30 28>;
  183. mode-gpio;
  184. direction = <PIN_OUTPUT>;
  185. output-value = <1>;
  186. };
  187. };
  188. pci {
  189. compatible = "pci-x86";
  190. #address-cells = <3>;
  191. #size-cells = <2>;
  192. u-boot,dm-pre-reloc;
  193. ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000
  194. 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
  195. 0x01000000 0x0 0x1000 0x1000 0 0xefff>;
  196. northbridge@0,0 {
  197. reg = <0x00000000 0 0 0 0>;
  198. u-boot,dm-pre-reloc;
  199. compatible = "intel,bd82x6x-northbridge";
  200. board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
  201. <&gpio_b 11 0>, <&gpio_a 10 0>;
  202. spd {
  203. u-boot,dm-pre-reloc;
  204. #address-cells = <1>;
  205. #size-cells = <0>;
  206. elpida_4Gb_1600_x16 {
  207. u-boot,dm-pre-reloc;
  208. reg = <0>;
  209. data = [92 10 0b 03 04 19 02 02
  210. 03 52 01 08 0a 00 fe 00
  211. 69 78 69 3c 69 11 18 81
  212. 20 08 3c 3c 01 40 83 81
  213. 00 00 00 00 00 00 00 00
  214. 00 00 00 00 00 00 00 00
  215. 00 00 00 00 00 00 00 00
  216. 00 00 00 00 0f 11 42 00
  217. 00 00 00 00 00 00 00 00
  218. 00 00 00 00 00 00 00 00
  219. 00 00 00 00 00 00 00 00
  220. 00 00 00 00 00 00 00 00
  221. 00 00 00 00 00 00 00 00
  222. 00 00 00 00 00 00 00 00
  223. 00 00 00 00 00 02 fe 00
  224. 11 52 00 00 00 07 7f 37
  225. 45 42 4a 32 30 55 47 36
  226. 45 42 55 30 2d 47 4e 2d
  227. 46 20 30 20 02 fe 00 00
  228. 00 00 00 00 00 00 00 00
  229. 00 00 00 00 00 00 00 00
  230. 00 00 00 00 00 00 00 00
  231. 00 00 00 00 00 00 00 00
  232. 00 00 00 00 00 00 00 00
  233. 00 00 00 00 00 00 00 00
  234. 00 00 00 00 00 00 00 00
  235. 00 00 00 00 00 00 00 00
  236. 00 00 00 00 00 00 00 00
  237. 00 00 00 00 00 00 00 00
  238. 00 00 00 00 00 00 00 00
  239. 00 00 00 00 00 00 00 00
  240. 00 00 00 00 00 00 00 00];
  241. };
  242. samsung_4Gb_1600_1.35v_x16 {
  243. u-boot,dm-pre-reloc;
  244. reg = <1>;
  245. data = [92 11 0b 03 04 19 02 02
  246. 03 11 01 08 0a 00 fe 00
  247. 69 78 69 3c 69 11 18 81
  248. f0 0a 3c 3c 01 40 83 01
  249. 00 80 00 00 00 00 00 00
  250. 00 00 00 00 00 00 00 00
  251. 00 00 00 00 00 00 00 00
  252. 00 00 00 00 0f 11 02 00
  253. 00 00 00 00 00 00 00 00
  254. 00 00 00 00 00 00 00 00
  255. 00 00 00 00 00 00 00 00
  256. 00 00 00 00 00 00 00 00
  257. 00 00 00 00 00 00 00 00
  258. 00 00 00 00 00 00 00 00
  259. 00 00 00 00 00 80 ce 01
  260. 00 00 00 00 00 00 6a 04
  261. 4d 34 37 31 42 35 36 37
  262. 34 42 48 30 2d 59 4b 30
  263. 20 20 00 00 80 ce 00 00
  264. 00 00 00 00 00 00 00 00
  265. 00 00 00 00 00 00 00 00
  266. 00 00 00 00 00 00 00 00
  267. 00 00 00 00 00 00 00 00
  268. 00 00 00 00 00 00 00 00
  269. 00 00 00 00 00 00 00 00
  270. 00 00 00 00 00 00 00 00
  271. 00 00 00 00 00 00 00 00
  272. 00 00 00 00 00 00 00 00
  273. 00 00 00 00 00 00 00 00
  274. 00 00 00 00 00 00 00 00
  275. 00 00 00 00 00 00 00 00
  276. 00 00 00 00 00 00 00 00];
  277. };
  278. micron_4Gb_1600_1.35v_x16 {
  279. reg = <2>;
  280. data = [92 11 0b 03 04 19 02 02
  281. 03 11 01 08 0a 00 fe 00
  282. 69 78 69 3c 69 11 18 81
  283. 20 08 3c 3c 01 40 83 05
  284. 00 00 00 00 00 00 00 00
  285. 00 00 00 00 00 00 00 00
  286. 00 00 00 00 00 00 00 00
  287. 00 00 00 00 0f 01 02 00
  288. 00 00 00 00 00 00 00 00
  289. 00 00 00 00 00 00 00 00
  290. 00 00 00 00 00 00 00 00
  291. 00 00 00 00 00 00 00 00
  292. 00 00 00 00 00 00 00 00
  293. 00 00 00 00 00 00 00 00
  294. 00 00 00 00 00 80 2c 00
  295. 00 00 00 00 00 00 ad 75
  296. 34 4b 54 46 32 35 36 36
  297. 34 48 5a 2d 31 47 36 45
  298. 31 20 45 31 80 2c 00 00
  299. 00 00 00 00 00 00 00 00
  300. 00 00 00 00 00 00 00 00
  301. 00 00 00 00 00 00 00 00
  302. ff ff ff ff ff ff ff ff
  303. ff ff ff ff ff ff ff ff
  304. ff ff ff ff ff ff ff ff
  305. ff ff ff ff ff ff ff ff
  306. ff ff ff ff ff ff ff ff
  307. ff ff ff ff ff ff ff ff
  308. ff ff ff ff ff ff ff ff
  309. ff ff ff ff ff ff ff ff
  310. ff ff ff ff ff ff ff ff
  311. ff ff ff ff ff ff ff ff];
  312. };
  313. };
  314. };
  315. gma@2,0 {
  316. reg = <0x00001000 0 0 0 0>;
  317. compatible = "intel,gma";
  318. intel,dp_hotplug = <0 0 0x06>;
  319. intel,panel-port-select = <1>;
  320. intel,panel-power-cycle-delay = <6>;
  321. intel,panel-power-up-delay = <2000>;
  322. intel,panel-power-down-delay = <500>;
  323. intel,panel-power-backlight-on-delay = <2000>;
  324. intel,panel-power-backlight-off-delay = <2000>;
  325. intel,cpu-backlight = <0x00000200>;
  326. intel,pch-backlight = <0x04000000>;
  327. };
  328. me@16,0 {
  329. reg = <0x0000b000 0 0 0 0>;
  330. compatible = "intel,me";
  331. u-boot,dm-pre-reloc;
  332. };
  333. usb_1: usb@1a,0 {
  334. reg = <0x0000d000 0 0 0 0>;
  335. compatible = "ehci-pci";
  336. };
  337. usb_0: usb@1d,0 {
  338. reg = <0x0000e800 0 0 0 0>;
  339. compatible = "ehci-pci";
  340. };
  341. pch@1f,0 {
  342. reg = <0x0000f800 0 0 0 0>;
  343. compatible = "intel,bd82x6x", "intel,pch9";
  344. u-boot,dm-pre-reloc;
  345. #address-cells = <1>;
  346. #size-cells = <1>;
  347. intel,pirq-routing = <0x8b 0x8a 0x8b 0x8b
  348. 0x80 0x80 0x80 0x80>;
  349. intel,gpi-routing = <0 0 0 0 0 0 0 2
  350. 1 0 0 0 0 0 0 0>;
  351. /* Enable EC SMI source */
  352. intel,alt-gp-smi-enable = <0x0100>;
  353. spi: spi {
  354. #address-cells = <1>;
  355. #size-cells = <0>;
  356. compatible = "intel,ich9-spi";
  357. u-boot,dm-pre-reloc;
  358. spi-flash@0 {
  359. #size-cells = <1>;
  360. #address-cells = <1>;
  361. u-boot,dm-pre-reloc;
  362. reg = <0>;
  363. compatible = "winbond,w25q64",
  364. "spi-flash";
  365. memory-map = <0xff800000 0x00800000>;
  366. rw-mrc-cache {
  367. label = "rw-mrc-cache";
  368. reg = <0x003e0000 0x00010000>;
  369. u-boot,dm-pre-reloc;
  370. };
  371. };
  372. };
  373. gpio_a: gpioa {
  374. compatible = "intel,ich6-gpio";
  375. u-boot,dm-pre-reloc;
  376. #gpio-cells = <2>;
  377. gpio-controller;
  378. reg = <0 0x10>;
  379. bank-name = "A";
  380. };
  381. gpio_b: gpiob {
  382. compatible = "intel,ich6-gpio";
  383. u-boot,dm-pre-reloc;
  384. #gpio-cells = <2>;
  385. gpio-controller;
  386. reg = <0x30 0x10>;
  387. bank-name = "B";
  388. };
  389. gpio_c: gpioc {
  390. compatible = "intel,ich6-gpio";
  391. u-boot,dm-pre-reloc;
  392. #gpio-cells = <2>;
  393. gpio-controller;
  394. reg = <0x40 0x10>;
  395. bank-name = "C";
  396. };
  397. lpc {
  398. compatible = "intel,bd82x6x-lpc";
  399. #address-cells = <1>;
  400. #size-cells = <0>;
  401. u-boot,dm-pre-reloc;
  402. intel,gen-dec = <0x800 0xfc 0x900 0xfc>;
  403. cros-ec@200 {
  404. compatible = "google,cros-ec";
  405. reg = <0x204 1 0x200 1 0x880 0x80>;
  406. /*
  407. * Describes the flash memory within
  408. * the EC
  409. */
  410. #address-cells = <1>;
  411. #size-cells = <1>;
  412. flash@8000000 {
  413. reg = <0x08000000 0x20000>;
  414. erase-value = <0xff>;
  415. };
  416. };
  417. };
  418. };
  419. sata@1f,2 {
  420. compatible = "intel,pantherpoint-ahci";
  421. reg = <0x0000fa00 0 0 0 0>;
  422. u-boot,dm-pre-reloc;
  423. intel,sata-mode = "ahci";
  424. intel,sata-port-map = <1>;
  425. intel,sata-port0-gen3-tx = <0x00880a7f>;
  426. };
  427. smbus: smbus@1f,3 {
  428. compatible = "intel,ich-i2c";
  429. reg = <0x0000fb00 0 0 0 0>;
  430. u-boot,dm-pre-reloc;
  431. };
  432. };
  433. tpm {
  434. reg = <0xfed40000 0x5000>;
  435. compatible = "infineon,slb9635lpc";
  436. };
  437. microcode {
  438. u-boot,dm-pre-reloc;
  439. update@0 {
  440. u-boot,dm-pre-reloc;
  441. #include "microcode/m12306a9_0000001b.dtsi"
  442. };
  443. };
  444. };