chromebook_link.dts 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  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. compatible = "intel,bd82x6x-northbridge";
  194. board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
  195. <&gpio_b 11 0>, <&gpio_a 10 0>;
  196. u-boot,dm-pre-reloc;
  197. spd {
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. elpida_4Gb_1600_x16 {
  201. reg = <0>;
  202. data = [92 10 0b 03 04 19 02 02
  203. 03 52 01 08 0a 00 fe 00
  204. 69 78 69 3c 69 11 18 81
  205. 20 08 3c 3c 01 40 83 81
  206. 00 00 00 00 00 00 00 00
  207. 00 00 00 00 00 00 00 00
  208. 00 00 00 00 00 00 00 00
  209. 00 00 00 00 0f 11 42 00
  210. 00 00 00 00 00 00 00 00
  211. 00 00 00 00 00 00 00 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 02 fe 00
  217. 11 52 00 00 00 07 7f 37
  218. 45 42 4a 32 30 55 47 36
  219. 45 42 55 30 2d 47 4e 2d
  220. 46 20 30 20 02 fe 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 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. };
  235. samsung_4Gb_1600_1.35v_x16 {
  236. reg = <1>;
  237. data = [92 11 0b 03 04 19 02 02
  238. 03 11 01 08 0a 00 fe 00
  239. 69 78 69 3c 69 11 18 81
  240. f0 0a 3c 3c 01 40 83 01
  241. 00 80 00 00 00 00 00 00
  242. 00 00 00 00 00 00 00 00
  243. 00 00 00 00 00 00 00 00
  244. 00 00 00 00 0f 11 02 00
  245. 00 00 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 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 80 ce 01
  252. 00 00 00 00 00 00 6a 04
  253. 4d 34 37 31 42 35 36 37
  254. 34 42 48 30 2d 59 4b 30
  255. 20 20 00 00 80 ce 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 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. };
  270. micron_4Gb_1600_1.35v_x16 {
  271. reg = <2>;
  272. data = [92 11 0b 03 04 19 02 02
  273. 03 11 01 08 0a 00 fe 00
  274. 69 78 69 3c 69 11 18 81
  275. 20 08 3c 3c 01 40 83 05
  276. 00 00 00 00 00 00 00 00
  277. 00 00 00 00 00 00 00 00
  278. 00 00 00 00 00 00 00 00
  279. 00 00 00 00 0f 01 02 00
  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 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 80 2c 00
  287. 00 00 00 00 00 00 ad 75
  288. 34 4b 54 46 32 35 36 36
  289. 34 48 5a 2d 31 47 36 45
  290. 31 20 45 31 80 2c 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. ff ff ff ff ff ff ff ff
  295. ff ff ff ff ff ff ff ff
  296. ff ff ff ff ff ff ff ff
  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. };
  305. };
  306. };
  307. gma@2,0 {
  308. reg = <0x00001000 0 0 0 0>;
  309. compatible = "intel,gma";
  310. intel,dp_hotplug = <0 0 0x06>;
  311. intel,panel-port-select = <1>;
  312. intel,panel-power-cycle-delay = <6>;
  313. intel,panel-power-up-delay = <2000>;
  314. intel,panel-power-down-delay = <500>;
  315. intel,panel-power-backlight-on-delay = <2000>;
  316. intel,panel-power-backlight-off-delay = <2000>;
  317. intel,cpu-backlight = <0x00000200>;
  318. intel,pch-backlight = <0x04000000>;
  319. };
  320. me@16,0 {
  321. reg = <0x0000b000 0 0 0 0>;
  322. compatible = "intel,me";
  323. u-boot,dm-pre-reloc;
  324. };
  325. usb_1: usb@1a,0 {
  326. reg = <0x0000d000 0 0 0 0>;
  327. compatible = "ehci-pci";
  328. };
  329. usb_0: usb@1d,0 {
  330. reg = <0x0000e800 0 0 0 0>;
  331. compatible = "ehci-pci";
  332. };
  333. pch@1f,0 {
  334. reg = <0x0000f800 0 0 0 0>;
  335. compatible = "intel,bd82x6x", "intel,pch9";
  336. u-boot,dm-pre-reloc;
  337. #address-cells = <1>;
  338. #size-cells = <1>;
  339. intel,pirq-routing = <0x8b 0x8a 0x8b 0x8b
  340. 0x80 0x80 0x80 0x80>;
  341. intel,gpi-routing = <0 0 0 0 0 0 0 2
  342. 1 0 0 0 0 0 0 0>;
  343. /* Enable EC SMI source */
  344. intel,alt-gp-smi-enable = <0x0100>;
  345. spi: spi {
  346. #address-cells = <1>;
  347. #size-cells = <0>;
  348. compatible = "intel,ich9-spi";
  349. spi-flash@0 {
  350. #size-cells = <1>;
  351. #address-cells = <1>;
  352. reg = <0>;
  353. compatible = "winbond,w25q64",
  354. "spi-flash";
  355. memory-map = <0xff800000 0x00800000>;
  356. rw-mrc-cache {
  357. label = "rw-mrc-cache";
  358. reg = <0x003e0000 0x00010000>;
  359. };
  360. };
  361. };
  362. gpio_a: gpioa {
  363. compatible = "intel,ich6-gpio";
  364. u-boot,dm-pre-reloc;
  365. #gpio-cells = <2>;
  366. gpio-controller;
  367. reg = <0 0x10>;
  368. bank-name = "A";
  369. };
  370. gpio_b: gpiob {
  371. compatible = "intel,ich6-gpio";
  372. u-boot,dm-pre-reloc;
  373. #gpio-cells = <2>;
  374. gpio-controller;
  375. reg = <0x30 0x10>;
  376. bank-name = "B";
  377. };
  378. gpio_c: gpioc {
  379. compatible = "intel,ich6-gpio";
  380. u-boot,dm-pre-reloc;
  381. #gpio-cells = <2>;
  382. gpio-controller;
  383. reg = <0x40 0x10>;
  384. bank-name = "C";
  385. };
  386. lpc {
  387. compatible = "intel,bd82x6x-lpc";
  388. #address-cells = <1>;
  389. #size-cells = <0>;
  390. u-boot,dm-pre-reloc;
  391. intel,gen-dec = <0x800 0xfc 0x900 0xfc>;
  392. cros-ec@200 {
  393. compatible = "google,cros-ec";
  394. reg = <0x204 1 0x200 1 0x880 0x80>;
  395. /*
  396. * Describes the flash memory within
  397. * the EC
  398. */
  399. #address-cells = <1>;
  400. #size-cells = <1>;
  401. flash@8000000 {
  402. reg = <0x08000000 0x20000>;
  403. erase-value = <0xff>;
  404. };
  405. };
  406. };
  407. };
  408. sata@1f,2 {
  409. compatible = "intel,pantherpoint-ahci";
  410. reg = <0x0000fa00 0 0 0 0>;
  411. u-boot,dm-pre-reloc;
  412. intel,sata-mode = "ahci";
  413. intel,sata-port-map = <1>;
  414. intel,sata-port0-gen3-tx = <0x00880a7f>;
  415. };
  416. smbus: smbus@1f,3 {
  417. compatible = "intel,ich-i2c";
  418. reg = <0x0000fb00 0 0 0 0>;
  419. u-boot,dm-pre-reloc;
  420. };
  421. };
  422. tpm {
  423. reg = <0xfed40000 0x5000>;
  424. compatible = "infineon,slb9635lpc";
  425. };
  426. microcode {
  427. update@0 {
  428. #include "microcode/m12306a9_0000001b.dtsi"
  429. };
  430. };
  431. };