chromebook_link.dts 9.8 KB

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