chromebook_link.dts 9.8 KB

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