Advertisement
Guest User

Untitled

a guest
Nov 13th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.20 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. compatible = "amlogic, Gxbb";
  5. model = "ODROID-C2";
  6. interrupt-parent = <0x1>;
  7. #address-cells = <0x2>;
  8. #size-cells = <0x2>;
  9.  
  10. cpus {
  11. #address-cells = <0x2>;
  12. #size-cells = <0x0>;
  13. #cooling-cells = <0x2>;
  14. linux,phandle = <0x3a>;
  15. phandle = <0x3a>;
  16.  
  17. cpu@0 {
  18. device_type = "cpu";
  19. compatible = "arm,cortex-a53", "arm,armv8";
  20. reg = <0x0 0x0>;
  21. enable-method = "psci";
  22. timer = <0x2>;
  23. };
  24.  
  25. cpu@1 {
  26. device_type = "cpu";
  27. compatible = "arm,cortex-a53", "arm,armv8";
  28. reg = <0x0 0x1>;
  29. enable-method = "psci";
  30. timer = <0x3>;
  31. };
  32.  
  33. cpu@2 {
  34. device_type = "cpu";
  35. compatible = "arm,cortex-a53", "arm,armv8";
  36. reg = <0x0 0x2>;
  37. enable-method = "psci";
  38. timer = <0x4>;
  39. };
  40.  
  41. cpu@3 {
  42. device_type = "cpu";
  43. compatible = "arm,cortex-a53", "arm,armv8";
  44. reg = <0x0 0x3>;
  45. enable-method = "psci";
  46. timer = <0x5>;
  47. };
  48. };
  49.  
  50. timer {
  51. compatible = "arm, meson-timer";
  52. #address-cells = <0x2>;
  53. #size-cells = <0x2>;
  54. ranges;
  55. reg = <0x0 0xc1109990 0x0 0x4 0x0 0xc1109988 0x0 0x4>;
  56.  
  57. timer-f {
  58. timer_name = "MESON TIMER-F";
  59. clockevent-rating = <0x12c>;
  60. clockevent-shift = <0x14>;
  61. clockevent-features = <0x3>;
  62. interrupts = <0x0 0x3c 0x1>;
  63. bit_enable = <0x10>;
  64. bit_mode = <0xc>;
  65. bit_resolution = <0x0>;
  66. reg = <0x0 0xc1109994 0x0 0x4>;
  67. linux,phandle = <0x2>;
  68. phandle = <0x2>;
  69. };
  70.  
  71. timer-g {
  72. timer_name = "MESON TIMER-G";
  73. clockevent-rating = <0x12c>;
  74. clockevent-shift = <0x14>;
  75. clockevent-features = <0x3>;
  76. interrupts = <0x0 0x3d 0x1>;
  77. bit_enable = <0x11>;
  78. bit_mode = <0xd>;
  79. bit_resolution = <0x2>;
  80. reg = <0x0 0xc1109998 0x0 0x4>;
  81. linux,phandle = <0x3>;
  82. phandle = <0x3>;
  83. };
  84.  
  85. timer-h {
  86. timer_name = "MESON TIMER-H";
  87. clockevent-rating = <0x12c>;
  88. clockevent-shift = <0x14>;
  89. clockevent-features = <0x3>;
  90. interrupts = <0x0 0x3e 0x1>;
  91. bit_enable = <0x12>;
  92. bit_mode = <0xe>;
  93. bit_resolution = <0x4>;
  94. reg = <0x0 0xc110999c 0x0 0x4>;
  95. linux,phandle = <0x4>;
  96. phandle = <0x4>;
  97. };
  98.  
  99. timer-i {
  100. timer_name = "MESON TIMER-I";
  101. clockevent-rating = <0x12c>;
  102. clockevent-shift = <0x14>;
  103. clockevent-features = <0x3>;
  104. interrupts = <0x0 0x3f 0x1>;
  105. bit_enable = <0x13>;
  106. bit_mode = <0xf>;
  107. bit_resolution = <0x6>;
  108. reg = <0x0 0xc11099a0 0x0 0x4>;
  109. linux,phandle = <0x5>;
  110. phandle = <0x5>;
  111. };
  112. };
  113.  
  114. arm_pmu {
  115. compatible = "arm,armv8-pmuv3";
  116. interrupts = <0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
  117. };
  118.  
  119. pm {
  120. compatible = "amlogic, pm";
  121. gxbaby-suspend;
  122. reg = <0x0 0xc81000a8 0x0 0x4 0x0 0xc810023c 0x0 0x4>;
  123. };
  124.  
  125. mali@d00c0000 {
  126. #cooling-cells = <0x2>;
  127. compatible = "arm,mali-450";
  128. interrupt-parent = <0x1>;
  129. reg = <0x0 0xd00c0000 0x0 0x40000 0x0 0xc883c000 0x0 0x4 0x0 0xc8100000 0x0 0x4>;
  130. interrupts = <0x0 0xa0 0x4 0x0 0xa1 0x4 0x0 0xa2 0x4 0x0 0xa3 0x4 0x0 0xa4 0x4 0x0 0xa5 0x4 0x0 0xa6 0x4 0x0 0xa7 0x4 0x0 0xa8 0x4 0x0 0xa9 0x4>;
  131. interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP", "IRQPMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1", "IRQPP2", "IRQPPMMU2";
  132. pmu_domain_config = <0x1 0x2 0x4 0x4 0x0 0x0 0x0 0x0 0x0 0x1 0x2 0x0>;
  133. pmu_switch_delay = <0xffff>;
  134. num_of_pp = <0x3>;
  135. def_clock = <0x3>;
  136. sc_mpp = <0x3>;
  137. tbl = <0x6 0x7 0x8 0x9 0xa 0xb>;
  138. clocks = <0xc 0x8 0xc 0x9 0xc 0x11 0xc 0x12 0xc 0x1e 0xc 0x15 0xc 0x13 0xc 0x14>;
  139. clock-names = "fclk_div3", "fclk_div4", "fclk_div5", "fclk_div7", "gp0_pll", "clk_mali", "clk_mali_0", "clk_mali_1";
  140. control_interval = <0xc8>;
  141. dvfs_tbl = <0xd>;
  142. linux,phandle = <0x3c>;
  143. phandle = <0x3c>;
  144.  
  145. clk125_cfg {
  146. clk_freq = <0x7735940>;
  147. clk_parent = "fclk_div4";
  148. clkp_freq = <0x1dcd6500>;
  149. voltage = <0x47e>;
  150. keep_count = <0x5>;
  151. threshold = <0x1e 0x78>;
  152. linux,phandle = <0x6>;
  153. phandle = <0x6>;
  154. };
  155.  
  156. clk250_cfg {
  157. clk_freq = <0xee6b280>;
  158. clk_parent = "fclk_div4";
  159. clkp_freq = <0x1dcd6500>;
  160. voltage = <0x47e>;
  161. keep_count = <0x5>;
  162. threshold = <0x50 0xaa>;
  163. };
  164.  
  165. clk285_cfg {
  166. clk_freq = <0x10fcc140>;
  167. clk_parent = "fclk_div7";
  168. clkp_freq = <0x10fcc140>;
  169. voltage = <0x47e>;
  170. keep_count = <0x5>;
  171. threshold = <0x64 0xbe>;
  172. linux,phandle = <0x7>;
  173. phandle = <0x7>;
  174. };
  175.  
  176. clk400_cfg {
  177. clk_freq = <0x17d78400>;
  178. clk_parent = "fclk_div5";
  179. clkp_freq = <0x17d78400>;
  180. voltage = <0x47e>;
  181. keep_count = <0x5>;
  182. threshold = <0x98 0xcf>;
  183. linux,phandle = <0x8>;
  184. phandle = <0x8>;
  185. };
  186.  
  187. clk500_cfg {
  188. clk_freq = <0x1dcd6500>;
  189. clk_parent = "fclk_div4";
  190. clkp_freq = <0x1dcd6500>;
  191. voltage = <0x47e>;
  192. keep_count = <0x5>;
  193. threshold = <0xb4 0xdc>;
  194. linux,phandle = <0x9>;
  195. phandle = <0x9>;
  196. };
  197.  
  198. clk666_cfg {
  199. clk_freq = <0x27b25a80>;
  200. clk_parent = "fclk_div3";
  201. clkp_freq = <0x27b25a80>;
  202. voltage = <0x47e>;
  203. keep_count = <0x5>;
  204. threshold = <0xd2 0xec>;
  205. linux,phandle = <0xa>;
  206. phandle = <0xa>;
  207. };
  208.  
  209. clk800_cfg {
  210. clk_freq = <0x2f34f600>;
  211. clk_parent = "gp0_pll";
  212. clkp_freq = <0x2f34f600>;
  213. voltage = <0x47e>;
  214. keep_count = <0x5>;
  215. threshold = <0xe6 0xff>;
  216. linux,phandle = <0xb>;
  217. phandle = <0xb>;
  218. };
  219. };
  220.  
  221. interrupt-controller@c4301000 {
  222. compatible = "arm,gic-400";
  223. #interrupt-cells = <0x3>;
  224. #address-cells = <0x0>;
  225. interrupt-controller;
  226. reg = <0x0 0xc4301000 0x0 0x1000 0x0 0xc4302000 0x0 0x2000 0x0 0xc4304000 0x0 0x2000 0x0 0xc4306000 0x0 0x2000>;
  227. interrupts = <0x1 0x9 0xf04>;
  228. linux,phandle = <0x1>;
  229. phandle = <0x1>;
  230. };
  231.  
  232. aml_restart {
  233. compatible = "aml, restart";
  234. sys_reset = <0x84000009>;
  235. sys_poweroff = <0x84000008>;
  236. };
  237.  
  238. psci {
  239. compatible = "arm,psci";
  240. method = "smc";
  241. cpu_suspend = <0xc4000001>;
  242. cpu_off = <0x84000002>;
  243. cpu_on = <0xc4000003>;
  244. migrate = <0xc4000005>;
  245. };
  246.  
  247. secmon {
  248. compatible = "aml,secmon";
  249. memory-region = <0xe>;
  250. in_base_func = <0x82000020>;
  251. out_base_func = <0x82000021>;
  252. };
  253.  
  254. securitykey {
  255. compatible = "aml, securitykey";
  256. storage_query = <0x82000060>;
  257. storage_read = <0x82000061>;
  258. storage_write = <0x82000062>;
  259. storage_tell = <0x82000063>;
  260. storage_verify = <0x82000064>;
  261. storage_status = <0x82000065>;
  262. storage_list = <0x82000067>;
  263. storage_remove = <0x82000068>;
  264. storage_in_func = <0x82000023>;
  265. storage_out_func = <0x82000024>;
  266. storage_block_func = <0x82000025>;
  267. storage_size_func = <0x82000027>;
  268. };
  269.  
  270. cpu_iomap {
  271. compatible = "amlogic,iomap";
  272. #address-cells = <0x2>;
  273. #size-cells = <0x2>;
  274. ranges;
  275.  
  276. io_cbus_base {
  277. reg = <0x0 0xc1100000 0x0 0x100000>;
  278. };
  279.  
  280. io_apb_base {
  281. reg = <0x0 0xd0000000 0x0 0x200000>;
  282. };
  283.  
  284. io_aobus_base {
  285. reg = <0x0 0xc8100000 0x0 0x100000>;
  286. };
  287. };
  288.  
  289. cpufreq-meson {
  290. compatible = "amlogic, cpufreq-scpi";
  291. status = "okay";
  292. clocks = <0xf 0x0>;
  293. clock-names = "cpu_clk";
  294. };
  295.  
  296. amlogic-watchdog {
  297. compatible = "amlogic, gx-wdt";
  298. status = "disable";
  299. default_timeout = <0xa>;
  300. reset_watchdog_method = <0x1>;
  301. reset_watchdog_time = <0x2>;
  302. shutdown_timeout = <0xa>;
  303. firmware_timeout = <0x6>;
  304. suspend_timeout = <0x6>;
  305. reg = <0x0 0xc11098d0 0x0 0x10>;
  306. clocks = <0xc 0x2>;
  307. };
  308.  
  309. meson_clock {
  310. compatible = "amlogic, gxbb-clock";
  311. reg = <0x0 0xc883c000 0x0 0x1000 0x0 0xc8100000 0x0 0x1000>;
  312. #clock-cells = <0x1>;
  313. #reset-cells = <0x1>;
  314. sys_max = <0x5b8d8000>;
  315. linux,phandle = <0xc>;
  316. phandle = <0xc>;
  317. };
  318.  
  319. pinmux {
  320. compatible = "amlogic, pinmux-gxbb";
  321. dev_name = "pinmux";
  322. #pinmux-cells = <0x2>;
  323. #address-cells = <0x2>;
  324. #size-cells = <0x2>;
  325. reg = <0x0 0xc1109880 0x0 0x10>;
  326. ranges;
  327.  
  328. banks@c11080b0 {
  329. reg = <0x0 0xc88344b0 0x0 0x28 0x0 0xc88344e8 0x0 0x14 0x0 0xc8834120 0x0 0x14 0x0 0xc8834430 0x0 0x40>;
  330. reg-names = "mux", "pull", "pull-enable", "gpio";
  331. gpio-controller;
  332. #gpio-cells = <0x2>;
  333. linux,phandle = <0x1f>;
  334. phandle = <0x1f>;
  335. };
  336.  
  337. ao-bank@c1108030 {
  338. reg = <0x0 0xc8100014 0x0 0x8 0x0 0xc810002c 0x0 0x4 0x0 0xc8100024 0x0 0x8>;
  339. reg-names = "mux", "pull", "gpio";
  340. gpio-controller;
  341. #gpio-cells = <0x2>;
  342. linux,phandle = <0x25>;
  343. phandle = <0x25>;
  344. };
  345.  
  346. eth_pins {
  347. amlogic,setmask = <0x6 0x3fff>;
  348. amlogic,clrmask = <0x6 0xc000 0x5 0x3c0000f0 0x4 0x300>;
  349. amlogic,pins = "GPIOZ_0", "GPIOZ_1", "GPIOZ_2", "GPIOZ_3", "GPIOZ_4", "GPIOZ_5", "GPIOZ_6", "GPIOZ_7", "GPIOZ_8", "GPIOZ_9", "GPIOZ_10", "GPIOZ_11", "GPIOZ_12", "GPIOZ_13", "GPIOZ_15";
  350. linux,phandle = <0x1e>;
  351. phandle = <0x1e>;
  352. };
  353.  
  354. remote_pin {
  355. amlogic,setmask = <0x10 0x1>;
  356. amlogic,pins = "GPIOAO_7";
  357. linux,phandle = <0x1a>;
  358. phandle = <0x1a>;
  359. };
  360.  
  361. ao_uart {
  362. amlogic,setmask = <0x10 0x1800>;
  363. amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  364. linux,phandle = <0x2c>;
  365. phandle = <0x2c>;
  366. };
  367.  
  368. ao_b_uart {
  369. amlogic,setmask = <0x10 0x1800000>;
  370. amlogic,pins = "GPIOAO_4", "GPIOAO_5";
  371. };
  372.  
  373. a_uart {
  374. amlogic,setmask = <0x4 0x3c00>;
  375. amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
  376. linux,phandle = <0x2d>;
  377. phandle = <0x2d>;
  378. };
  379.  
  380. b_uart {
  381. amlogic,setmask = <0x2 0x30000000>;
  382. amlogic,pins = "GPIODV_24", "GPIODV_25";
  383. };
  384.  
  385. c_uart {
  386. amlogic,setmask = <0x1 0xc0000>;
  387. amlogic,pins = "GPIOY_13", "GPIOY_14";
  388. };
  389.  
  390. wifi_32k_pins {
  391. amlogic,setmask = <0x2 0x40000000>;
  392. amlogic,clrmask = <0x2 0x400000 0x3 0x8000>;
  393. amlogic,pins = "GPIOX_19";
  394. };
  395.  
  396. sd_clk_cmd_pins {
  397. amlogic,setmask = <0x2 0xc00 0x10 0x1800>;
  398. amlogic,pins = "CARD_2", "CARD_3";
  399. amlogic,enable-output = <0x1>;
  400. amlogic,pullup = <0x1>;
  401. amlogic,pullupen = <0x1>;
  402. linux,phandle = <0x23>;
  403. phandle = <0x23>;
  404. };
  405.  
  406. sd_all_pins {
  407. amlogic,setmask = <0x2 0xfc00 0x10 0x1800>;
  408. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  409. amlogic,enable-output = <0x1>;
  410. amlogic,pullup = <0x1>;
  411. amlogic,pullupen = <0x1>;
  412. linux,phandle = <0x24>;
  413. phandle = <0x24>;
  414. };
  415.  
  416. sd_1bit_pins {
  417. amlogic,setmask = <0x2 0x8c00 0x10 0x1800>;
  418. amlogic,pins = "CARD_1", "CARD_2", "CARD_3";
  419. amlogic,enable-output = <0x1>;
  420. amlogic,pullup = <0x1>;
  421. amlogic,pullupen = <0x1>;
  422. };
  423.  
  424. sd_clk_cmd_uart_pins {
  425. amlogic,setmask = <0x2 0xc00 0x8 0x600>;
  426. amlogic,pins = "CARD_2", "CARD_3";
  427. amlogic,enable-output = <0x1>;
  428. amlogic,pullup = <0x1>;
  429. amlogic,pullupen = <0x1>;
  430. };
  431.  
  432. sd_1bit_uart_pins {
  433. amlogic,setmask = <0x2 0x8c00 0x8 0x600>;
  434. amlogic,pins = "CARD_1", "CARD_2", "CARD_3";
  435. amlogic,enable-output = <0x1>;
  436. amlogic,pullup = <0x1>;
  437. amlogic,pullupen = <0x1>;
  438. };
  439.  
  440. sd_to_ao_uart_pins {
  441. amlogic,setmask = <0x10 0x1800>;
  442. amlogic,clrmask = <0x8 0x600>;
  443. amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  444. amlogic,enable-output = <0x1>;
  445. amlogic,pullup = <0x1>;
  446. amlogic,pullupen = <0x1>;
  447. };
  448.  
  449. ao_to_sd_uart_pins {
  450. amlogic,setmask = <0x8 0x600>;
  451. amlogic,clrmask = <0x10 0x1800 0x2 0x3000>;
  452. amlogic,pins = "CARD_4", "CARD_5";
  453. amlogic,enable-output = <0x1>;
  454. amlogic,pullup = <0x1>;
  455. amlogic,pullupen = <0x1>;
  456. };
  457.  
  458. emmc_clk_cmd_pins {
  459. amlogic,setmask = <0x4 0xc00c0000>;
  460. amlogic,pins = "BOOT_8", "BOOT_10";
  461. amlogic,enable-output = <0x1>;
  462. amlogic,pullup = <0x1>;
  463. amlogic,pullupen = <0x1>;
  464. linux,phandle = <0x26>;
  465. phandle = <0x26>;
  466. };
  467.  
  468. emmc_all_pins {
  469. amlogic,setmask = <0x4 0xc00c0000>;
  470. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_10";
  471. amlogic,enable-output = <0x1>;
  472. amlogic,pullup = <0x1>;
  473. amlogic,pullupen = <0x1>;
  474. linux,phandle = <0x27>;
  475. phandle = <0x27>;
  476. };
  477.  
  478. sdio_clk_cmd_pins {
  479. amlogic,setmask = <0x8 0x3>;
  480. amlogic,pins = "GPIOX_4", "GPIOX_5";
  481. amlogic,enable-output = <0x1>;
  482. amlogic,pullup = <0x1>;
  483. amlogic,pullupen = <0x1>;
  484. };
  485.  
  486. sdio_all_pins {
  487. amlogic,setmask = <0x8 0x3f>;
  488. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_4", "GPIOX_5";
  489. amlogic,enable-output = <0x1>;
  490. amlogic,pullup = <0x1>;
  491. amlogic,pullupen = <0x1>;
  492. };
  493.  
  494. conf_nand_pulldown {
  495. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
  496. amlogic,pullup = <0x0>;
  497. amlogic,pullupen = <0x1>;
  498. };
  499.  
  500. conf_nand_pullup {
  501. amlogic,pins = "BOOT_8", "BOOT_10";
  502. amlogic,pullup = <0x1>;
  503. amlogic,pullupen = <0x1>;
  504. };
  505.  
  506. all_nand_pins {
  507. amlogic,setmask = <0x4 0x7ff00000>;
  508. amlogic,clrmask = <0x0 0x80000 0x4 0x800c0000 0x5 0xf>;
  509. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_9", "BOOT_10", "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17";
  510. amlogic,enable-output = <0x1>;
  511. };
  512.  
  513. nand_cs {
  514. amlogic,setmask = <0x4 0xc000000>;
  515. amlogic,clrmask = <0x4 0x40000>;
  516. amlogic,pins = "BOOT_8", "BOOT_9";
  517. };
  518.  
  519. hdmitx_hpd {
  520. amlogic,setmask = <0x1 0x4000000>;
  521. amlogic,pins = "GPIOH_0";
  522. linux,phandle = <0x28>;
  523. phandle = <0x28>;
  524. };
  525.  
  526. hdmitx_ddc {
  527. amlogic,setmask = <0x1 0x3000000>;
  528. amlogic,pins = "GPIOH_1", "GPIOH_2";
  529. linux,phandle = <0x29>;
  530. phandle = <0x29>;
  531. };
  532.  
  533. hdmitx_aocec {
  534. amlogic,setmask = <0x10 0x8000>;
  535. amlogic,clrmask = <0x10 0x24000 0x11 0x1>;
  536. amlogic,pins = "GPIOAO_12";
  537. linux,phandle = <0x2b>;
  538. phandle = <0x2b>;
  539. };
  540.  
  541. hdmitx_eecec {
  542. amlogic,setmask = <0x10 0x4000>;
  543. amlogic,clrmask = <0x10 0x28000 0x11 0x1>;
  544. amlogic,pins = "GPIOAO_12";
  545. };
  546.  
  547. a_i2c {
  548. amlogic,setmask = <0x7 0xc000000>;
  549. amlogic,clrmask = <0x0 0x18c0 0x2 0x30000000 0x5 0x1800>;
  550. amlogic,pins = "GPIODV_24", "GPIODV_25";
  551. linux,phandle = <0x10>;
  552. phandle = <0x10>;
  553. };
  554.  
  555. b_i2c {
  556. amlogic,setmask = <0x7 0x3000000>;
  557. amlogic,clrmask = <0x0 0x600 0x2 0xc000000 0x5 0x700>;
  558. amlogic,pins = "GPIODV_26", "GPIODV_27";
  559. linux,phandle = <0x11>;
  560. phandle = <0x11>;
  561. };
  562.  
  563. c_i2c {
  564. amlogic,setmask = <0x7 0xc00000>;
  565. amlogic,clrmask = <0x3 0x700000>;
  566. amlogic,pins = "GPIODV_28", "GPIODV_29";
  567. linux,phandle = <0x12>;
  568. phandle = <0x12>;
  569. };
  570.  
  571. d_i2c {
  572. amlogic,setmask = <0x4 0xc>;
  573. amlogic,clrmask = <0x2 0x3000000 0x3 0x1000>;
  574. amlogic,pins = "GPIOX_16", "GPIOX_17";
  575. linux,phandle = <0x13>;
  576. phandle = <0x13>;
  577. };
  578.  
  579. dvb_p_ts0_pins {
  580. amlogic,setmask = <0x3 0x37>;
  581. amlogic,clrmask = <0x2 0xf0000 0x1 0x30ff>;
  582. amlogic,pins = "GPIOY_0", "GPIOY_1", "GPIOY_2", "GPIOY_3", "GPIOY_4", "GPIOY_5", "GPIOY_6", "GPIOY_7", "GPIOY_8", "GPIOY_9", "GPIOY_10";
  583. };
  584.  
  585. dvb_s_ts0_pins {
  586. amlogic,setmask = <0x3 0x17>;
  587. amlogic,clrmask = <0x2 0xf0000 0x1 0x7>;
  588. amlogic,pins = "GPIOY_0", "GPIOY_1", "GPIOY_2", "GPIOY_3";
  589. };
  590.  
  591. audio_pin {
  592. amlogic,setmask = <0x10 0x78000000>;
  593. amlogic,clrmask = <0x10 0x40000>;
  594. amlogic,pins = "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11";
  595. linux,phandle = <0x34>;
  596. phandle = <0x34>;
  597. };
  598.  
  599. audio_pin1 {
  600. amlogic,setmask = <0x10 0x10000>;
  601. amlogic,clrmask = <0x10 0x40000>;
  602. amlogic,pins = "GPIOAO_6";
  603. linux,phandle = <0x2e>;
  604. phandle = <0x2e>;
  605. };
  606.  
  607. led_pin {
  608. amlogic,setmask = <0x10 0x0>;
  609. amlogic,clrmask = <0x10 0x80000018>;
  610. amlogic,pins = "GPIOAO_13";
  611. linux,phandle = <0x3d>;
  612. phandle = <0x3d>;
  613. };
  614.  
  615. odroid_pwm0 {
  616. amlogic,setmask = <0x3 0x20000>;
  617. amlogic,clrmask = <0x3 0x200>;
  618. amlogic,pins = "GPIOX_6";
  619. linux,phandle = <0x3e>;
  620. phandle = <0x3e>;
  621. };
  622.  
  623. odroid_pwm1 {
  624. amlogic,setmask = <0x3 0x20000 0x3 0x60000>;
  625. amlogic,clrmask = <0x3 0x300 0x8 0x800>;
  626. amlogic,pins = "GPIOX_6", "GPIOX_7";
  627. linux,phandle = <0x3f>;
  628. phandle = <0x3f>;
  629. };
  630. };
  631.  
  632. cpu_version {
  633. reg = <0x0 0xc8100220 0x0 0x4>;
  634. };
  635.  
  636. meson_clk_msr {
  637. compatible = "amlogic, gxbb_measure";
  638. reg = <0x0 0xc110875c 0x0 0x4 0x0 0xc1108764 0x0 0x4>;
  639. };
  640.  
  641. i2c@c1108500 {
  642. compatible = "amlogic, meson-i2c";
  643. dev_name = "i2c-A";
  644. status = "okay";
  645. reg = <0x0 0xc1108500 0x0 0x20>;
  646. device_id = <0x1>;
  647. pinctrl-names = "default";
  648. pinctrl-0 = <0x10>;
  649. #address-cells = <0x1>;
  650. #size-cells = <0x0>;
  651. use_pio = <0x0>;
  652. master_i2c_speed = <0x493e0>;
  653. clocks = <0xc 0xa>;
  654. clock-names = "clk_i2c";
  655. resets = <0xc 0x9>;
  656. };
  657.  
  658. i2c@c11087c0 {
  659. compatible = "amlogic, meson-i2c";
  660. dev_name = "i2c-B";
  661. status = "okay";
  662. reg = <0x0 0xc11087c0 0x0 0x20>;
  663. device_id = <0x2>;
  664. pinctrl-names = "default";
  665. pinctrl-0 = <0x11>;
  666. #address-cells = <0x1>;
  667. #size-cells = <0x0>;
  668. use_pio = <0x0>;
  669. master_i2c_speed = <0x493e0>;
  670. clocks = <0xc 0xa>;
  671. clock-names = "clk_i2c";
  672. resets = <0xc 0x9>;
  673. };
  674.  
  675. i2c@c11087e0 {
  676. compatible = "amlogic, meson-i2c";
  677. dev_name = "i2c-C";
  678. status = "disabled";
  679. reg = <0x0 0xc11087e0 0x0 0x20>;
  680. device_id = <0x3>;
  681. pinctrl-names = "default";
  682. pinctrl-0 = <0x12>;
  683. #address-cells = <0x1>;
  684. #size-cells = <0x0>;
  685. use_pio = <0x0>;
  686. master_i2c_speed = <0x493e0>;
  687. clocks = <0xc 0xa>;
  688. clock-names = "clk_i2c";
  689. resets = <0xc 0x9>;
  690. };
  691.  
  692. i2c@c1108d20 {
  693. compatible = "amlogic, meson-i2c";
  694. dev_name = "i2c-D";
  695. status = "disabled";
  696. reg = <0x0 0xc1108d20 0x0 0x20>;
  697. device_id = <0x4>;
  698. pinctrl-names = "default";
  699. pinctrl-0 = <0x13>;
  700. #address-cells = <0x1>;
  701. #size-cells = <0x0>;
  702. use_pio = <0x0>;
  703. master_i2c_speed = <0x493e0>;
  704. clocks = <0xc 0xa>;
  705. clock-names = "clk_i2c";
  706. resets = <0xc 0x9>;
  707. };
  708.  
  709. efuse {
  710. compatible = "amlogic, efuse";
  711. read_cmd = <0x82000030>;
  712. write_cmd = <0x82000031>;
  713. get_max_cmd = <0x82000033>;
  714. key = <0x14>;
  715. resets = <0xc 0x3e>;
  716. reset-names = "efuse_clk";
  717. status = "okay";
  718. };
  719.  
  720. efusekey {
  721. keynum = <0x4>;
  722. key0 = <0x15>;
  723. key1 = <0x16>;
  724. key2 = <0x17>;
  725. key3 = <0x18>;
  726. linux,phandle = <0x14>;
  727. phandle = <0x14>;
  728.  
  729. key0 {
  730. keyname = "mac";
  731. offset = <0x0>;
  732. size = <0x6>;
  733. linux,phandle = <0x15>;
  734. phandle = <0x15>;
  735. };
  736.  
  737. key1 {
  738. keyname = "mac_bt";
  739. offset = <0x6>;
  740. size = <0x6>;
  741. linux,phandle = <0x16>;
  742. phandle = <0x16>;
  743. };
  744.  
  745. key2 {
  746. keyname = "mac_wifi";
  747. offset = <0xc>;
  748. size = <0x6>;
  749. linux,phandle = <0x17>;
  750. phandle = <0x17>;
  751. };
  752.  
  753. key3 {
  754. keyname = "usid";
  755. offset = <0x12>;
  756. size = <0x10>;
  757. linux,phandle = <0x18>;
  758. phandle = <0x18>;
  759. };
  760. };
  761.  
  762. mhu@c883c400 {
  763. compatible = "amlogic, meson_mhu";
  764. reg = <0x0 0xc883c400 0x0 0x4c 0x0 0xc8013000 0x0 0x800>;
  765. interrupts = <0x0 0xd1 0x8 0x0 0xd2 0x8>;
  766. #mbox-cells = <0x1>;
  767. mbox-names = "cpu_to_scp_low", "cpu_to_scp_high";
  768. mboxes = <0x19 0x0 0x19 0x1>;
  769. linux,phandle = <0x19>;
  770. phandle = <0x19>;
  771. };
  772.  
  773. scpi_clocks {
  774. compatible = "arm,scpi-clks";
  775.  
  776. scpi_clocks@0 {
  777. compatible = "arm,scpi-clk-indexed";
  778. #clock-cells = <0x1>;
  779. clock-indices = <0x0>;
  780. clock-output-names = "vcpu";
  781. linux,phandle = <0xf>;
  782. phandle = <0xf>;
  783. };
  784. };
  785.  
  786. meson-remote {
  787. compatible = "amlogic, aml_remote";
  788. dev_name = "meson-remote";
  789. status = "ok";
  790. remote_ao_offset = <0x580>;
  791. interrupts = <0x0 0xc4 0x1>;
  792. pinctrl-names = "default";
  793. pinctrl-0 = <0x1a>;
  794. };
  795.  
  796. rng {
  797. compatible = "amlogic,meson-rng";
  798. reg = <0x0 0xc8834000 0x0 0x4>;
  799. };
  800.  
  801. audio_data {
  802. compatible = "amlogic, audio_data";
  803. query_licence_cmd = <0x82000050>;
  804. status = "disabled";
  805. };
  806.  
  807. saradc {
  808. compatible = "amlogic, saradc";
  809. status = "okay";
  810. interrupts = <0x0 0x9 0x1>;
  811. interrupt-names = "saradc_int";
  812. clocks = <0xc 0x2>;
  813. clock-names = "saradc_clk";
  814. resets = <0xc 0x56>;
  815. reg = <0x0 0xc1108680 0x0 0x30 0x0 0xc883c3d8 0x0 0x8>;
  816. };
  817.  
  818. aliases {
  819. serial0 = "/serial@c81004c0";
  820. serial1 = "/serial@c11084c0";
  821. };
  822.  
  823. gpu_dvfs_tbl {
  824. sc_mpp = <0x3>;
  825. tbl = <0x7 0x8 0x9 0xa 0xb>;
  826. linux,phandle = <0xd>;
  827. phandle = <0xd>;
  828. };
  829.  
  830. memory@00000000 {
  831. device_type = "memory";
  832. linux,usable-memory = <0x0 0x1000000 0x0 0x7f000000>;
  833. };
  834.  
  835. reserved-memory {
  836. #address-cells = <0x2>;
  837. #size-cells = <0x2>;
  838. ranges;
  839.  
  840. linux,secmon {
  841. compatible = "aml_secmon_memory";
  842. reg = <0x0 0x10000000 0x0 0x200000>;
  843. no-map;
  844. linux,phandle = <0xe>;
  845. phandle = <0xe>;
  846. };
  847.  
  848. linux,meson-fb {
  849. compatible = "amlogic, fb-memory";
  850. size = <0x0 0x8000000>;
  851. no-map;
  852. linux,phandle = <0x1b>;
  853. phandle = <0x1b>;
  854. };
  855.  
  856. linux,di {
  857. compatible = "amlogic, di-mem";
  858. size = <0x0 0x1e00000>;
  859. multi-use;
  860. linux,phandle = <0x22>;
  861. phandle = <0x22>;
  862. };
  863.  
  864. linux,ion-dev {
  865. compatible = "amlogic, idev-mem";
  866. size = <0x0 0x2000000>;
  867. multi-use;
  868. linux,phandle = <0x20>;
  869. phandle = <0x20>;
  870. };
  871.  
  872. linux,codec_mm_cma {
  873. compatible = "shared-dma-pool";
  874. reusable;
  875. size = <0x0 0xbc00000>;
  876. alignment = <0x0 0x400000>;
  877. linux,contiguous-region;
  878. linux,phandle = <0x1c>;
  879. phandle = <0x1c>;
  880. };
  881.  
  882. linux,picdec {
  883. compatible = "shared-dma-pool";
  884. reusable;
  885. size = <0x0 0x3000000>;
  886. alignment = <0x0 0x400000>;
  887. linux,contiguous-region;
  888. linux,phandle = <0x21>;
  889. phandle = <0x21>;
  890. };
  891.  
  892. linux,codec_mm_reserved {
  893. compatible = "amlogic, codec-mm-reserved";
  894. size = <0x0 0x4100000>;
  895. alignment = <0x0 0x100000>;
  896. linux,phandle = <0x1d>;
  897. phandle = <0x1d>;
  898. };
  899. };
  900.  
  901. meson-vout {
  902. compatible = "amlogic, meson-vout";
  903. dev_name = "meson-vout";
  904. status = "okay";
  905. };
  906.  
  907. meson-fb {
  908. compatible = "amlogic, meson-fb";
  909. memory-region = <0x1b>;
  910. dev_name = "meson-fb";
  911. status = "okay";
  912. interrupts = <0x0 0x3 0x1 0x0 0x59 0x1>;
  913. interrupt-names = "viu-vsync", "rdma";
  914. mem_size = <0x6000000 0x100000>;
  915. vmode = <0x4>;
  916. scale_mode = <0x1>;
  917. 4k2k_fb = <0x1>;
  918. display_size_default = <0x500 0x2d0 0x500 0x5a0 0x20>;
  919. };
  920.  
  921. ge2d {
  922. compatible = "amlogic, ge2d";
  923. dev_name = "ge2d";
  924. status = "okay";
  925. interrupts = <0x0 0x96 0x1>;
  926. interrupt-names = "ge2d";
  927. clocks = <0xc 0x17 0xc 0x19>;
  928. clock-names = "clk_vapb_0", "clk_ge2d";
  929. resets = <0xc 0x34>;
  930. reset-names = "ge2d";
  931. };
  932.  
  933. codec_io {
  934. compatible = "amlogic, codec_io";
  935. #address-cells = <0x2>;
  936. #size-cells = <0x2>;
  937. ranges;
  938.  
  939. io_cbus_base {
  940. reg = <0x0 0xc1100000 0x0 0x100000>;
  941. };
  942.  
  943. io_dos_base {
  944. reg = <0x0 0xc8820000 0x0 0x10000>;
  945. };
  946.  
  947. io_hiubus_base {
  948. reg = <0x0 0xc883c000 0x0 0x2000>;
  949. };
  950.  
  951. io_aobus_base {
  952. reg = <0x0 0xc8100000 0x0 0x100000>;
  953. };
  954.  
  955. io_vcbus_base {
  956. reg = <0x0 0xd0100000 0x0 0x40000>;
  957. };
  958.  
  959. io_dmc_base {
  960. reg = <0x0 0xc8838000 0x0 0x400>;
  961. };
  962. };
  963.  
  964. codec_mm {
  965. compatible = "amlogic, codec, mm";
  966. memory-region = <0x1c 0x1d>;
  967. dev_name = "codec_mm";
  968. status = "okay";
  969. };
  970.  
  971. ethernet@0xc9410000 {
  972. compatible = "amlogic, gxbb-rgmii-dwmac";
  973. reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x8>;
  974. interrupts = <0x0 0x8 0x1>;
  975. phy-mode = "rgmii";
  976. pinctrl-names = "eth_pins";
  977. pinctrl-0 = <0x1e>;
  978. rst_pin-gpios = <0x1f 0xe 0x0>;
  979. mc_val = <0x1621>;
  980. resets = <0xc 0x23>;
  981. reset-names = "ethpower";
  982. interrupt-names = "macirq";
  983. clocks = <0xc 0xa>;
  984. clock-names = "ethclk81";
  985. };
  986.  
  987. mesonstream {
  988. compatible = "amlogic, codec, streambuf";
  989. dev_name = "mesonstream";
  990. status = "okay";
  991. resets = <0xc 0x39 0xc 0x59 0xc 0x24 0xc 0x1>;
  992. reset-names = "parser_top", "vpu_intr", "demux", "vdec";
  993. };
  994.  
  995. amvideocap {
  996. compatible = "amlogic, amvideocap";
  997. dev_name = "amvideocap.0";
  998. status = "okay";
  999. };
  1000.  
  1001. ion_dev {
  1002. compatible = "amlogic, ion_dev";
  1003. memory-region = <0x20>;
  1004. };
  1005.  
  1006. vdec {
  1007. compatible = "amlogic, vdec";
  1008. dev_name = "vdec.0";
  1009. status = "okay";
  1010. interrupts = <0x0 0x3 0x1 0x0 0x17 0x1 0x0 0x20 0x1 0x0 0x2b 0x1 0x0 0x2c 0x1 0x0 0x2d 0x1>;
  1011. interrupt-names = "vsync", "demux", "parser", "mailbox_0", "mailbox_1", "mailbox_2";
  1012. };
  1013.  
  1014. picdec {
  1015. compatible = "amlogic, picdec";
  1016. memory-region = <0x21>;
  1017. dev_name = "picdec";
  1018. status = "okay";
  1019. };
  1020.  
  1021. ppmgr {
  1022. compatible = "amlogic, ppmgr";
  1023. memory-region = <0x20>;
  1024. dev_name = "ppmgr";
  1025. status = "okay";
  1026. };
  1027.  
  1028. deinterlace {
  1029. compatible = "amlogic, deinterlace";
  1030. status = "okay";
  1031. memory-region = <0x22>;
  1032. interrupts = <0x0 0x2e 0x1 0x0 0x6 0x1>;
  1033. interrupt-names = "de_irq", "timerc";
  1034. buffer-size = <0x2fd000>;
  1035. hw-version = <0x2>;
  1036. };
  1037.  
  1038. amvdec_656in0 {
  1039. compatible = "amlogic, amvdec_656in";
  1040. dev_name = "amvdec_656in0";
  1041. status = "ok";
  1042. reg = <0x0 0xd0048000 0x0 0x7c>;
  1043. clocks = <0xc 0x7 0xc 0x26>;
  1044. clock-names = "fclk_div2", "cts_bt656_clk0";
  1045. bt656_id = <0x0>;
  1046. };
  1047.  
  1048. amvdec_656in1 {
  1049. compatible = "amlogic, amvdec_656in";
  1050. dev_name = "amvdec_656in1";
  1051. status = "ok";
  1052. reg = <0x0 0xd0050000 0x0 0x7c>;
  1053. clocks = <0xc 0x7 0xc 0x27>;
  1054. clock-names = "fclk_div2", "cts_bt656_clk1";
  1055. bt656_id = <0x1>;
  1056. };
  1057.  
  1058. amvenc_avc {
  1059. compatible = "amlogic, amvenc_avc";
  1060. dev_name = "amvenc_avc";
  1061. status = "okay";
  1062. interrupts = <0x0 0x2d 0x1>;
  1063. interrupt-names = "mailbox_2";
  1064. };
  1065.  
  1066. vpu {
  1067. compatible = "amlogic, vpu";
  1068. dev_name = "vpu";
  1069. status = "ok";
  1070. clk_level = <0x7>;
  1071. };
  1072.  
  1073. sd {
  1074. compatible = "amlogic, aml_sd_emmc";
  1075. dev_name = "aml_newsd.0";
  1076. status = "okay";
  1077. reg = <0x0 0xd0072000 0x0 0x2000>;
  1078. interrupts = <0x0 0xd9 0x1 0x0 0x43 0x1 0x0 0x45 0x1>;
  1079. pinctrl-names = "sd_clk_cmd_pins", "sd_all_pins";
  1080. pinctrl-0 = <0x23>;
  1081. pinctrl-1 = <0x24>;
  1082.  
  1083. sd {
  1084. status = "okay";
  1085. pinname = "sd";
  1086. ocr_avail = <0x200080>;
  1087. caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_UHS_SDR50", "MMC_CAP_UHS_SDR104";
  1088. f_min = <0x61a80>;
  1089. f_max = <0x510ff40>;
  1090. max_req_size = <0x20000>;
  1091. gpio_dat3 = <0x1f 0x2a 0x0>;
  1092. jtag_pin = <0x1f 0x26 0x0>;
  1093. gpio_cd = <0x1f 0x2c 0x0>;
  1094. gpio_volsw = <0x25 0x3 0x1>;
  1095. gpio_power = <0x1f 0x57 0x0>;
  1096. power_level = <0x1>;
  1097. irq_in = <0x3>;
  1098. irq_out = <0x5>;
  1099. card_type = <0x5>;
  1100. };
  1101. };
  1102.  
  1103. emmc {
  1104. compatible = "amlogic, aml_sd_emmc";
  1105. dev_name = "aml_newsd.0";
  1106. status = "okay";
  1107. reg = <0x0 0xd0074000 0x0 0x2000>;
  1108. interrupts = <0x0 0xda 0x1>;
  1109. pinctrl-names = "emmc_clk_cmd_pins", "emmc_all_pins";
  1110. pinctrl-0 = <0x26>;
  1111. pinctrl-1 = <0x27>;
  1112.  
  1113. emmc {
  1114. status = "okay";
  1115. pinname = "emmc";
  1116. ocr_avail = <0x200080>;
  1117. caps = "MMC_CAP_8_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_1_8V_DDR", "MMC_CAP_HW_RESET", "MMC_CAP_ERASE";
  1118. caps2 = "MMC_CAP2_HS200_1_8V_SDR", "MMC_CAP2_HS400_1_8V", "MMC_CAP2_BROKEN_VOLTAGE", "MMC_CAP2_BOOTPART_NOACC";
  1119. f_min = <0x61a80>;
  1120. f_max = <0x5f5e100>;
  1121. max_req_size = <0x20000>;
  1122. gpio_dat3 = <0x1f 0x17 0x0>;
  1123. hw_reset = <0x1f 0x1d 0x0>;
  1124. card_type = <0x1>;
  1125. };
  1126. };
  1127.  
  1128. amhdmitx {
  1129. compatible = "amlogic, amhdmitx";
  1130. dev_name = "amhdmitx";
  1131. status = "okay";
  1132. pinctrl-names = "hdmitx_hpd", "hdmitx_ddc";
  1133. pinctrl-0 = <0x28>;
  1134. pinctrl-1 = <0x29>;
  1135. vend-data = <0x2a>;
  1136. interrupts = <0x0 0x39 0x1>;
  1137. interrupt-names = "hdmitx_hpd";
  1138. clocks = <0xc 0xb 0xc 0xc 0xc 0xd 0xc 0xe 0xc 0xf 0xc 0x16>;
  1139. clock-names = "hdmitx_clk_sys", "hdmitx_clk_encp", "hdmitx_clk_enci", "hdmitx_clk_pixel", "hdmitx_clk_phy", "hdmitx_clk_vid";
  1140.  
  1141. vend_data {
  1142. compatible = "amlogic, amlogic-cec";
  1143. status = "okay";
  1144. vendor_name = "Hardkernel";
  1145. vendor_id = <0x0>;
  1146. product_desc = "ODROID-C2";
  1147. cec_osd_string = "ODROID-C2";
  1148. interrupts = <0x0 0xc7 0x1>;
  1149. interrupt-names = "hdmitx_cec";
  1150. pinctrl-names = "hdmitx_aocec";
  1151. pinctrl-0 = <0x2b>;
  1152. linux,phandle = <0x2a>;
  1153. phandle = <0x2a>;
  1154. };
  1155. };
  1156.  
  1157. serial@c81004c0 {
  1158. compatible = "amlogic, meson-uart";
  1159. reg = <0x0 0xc81004c0 0x0 0x14>;
  1160. interrupts = <0x0 0xc1 0x1>;
  1161. status = "okay";
  1162. clocks = <0xc 0x2>;
  1163. clock-names = "clk_uart";
  1164. fifosize = <0x40>;
  1165. pinctrl-names = "default";
  1166. pinctrl-0 = <0x2c>;
  1167. };
  1168.  
  1169. serial@c11084c0 {
  1170. compatible = "amlogic, meson-uart";
  1171. reg = <0x0 0xc11084c0 0x0 0x14>;
  1172. interrupts = <0x0 0x1a 0x1>;
  1173. status = "okay";
  1174. clocks = <0xc 0x2>;
  1175. clock-names = "clk_uart";
  1176. fifosize = <0x80>;
  1177. pinctrl-names = "default";
  1178. pinctrl-0 = <0x2d>;
  1179. };
  1180.  
  1181. canvas {
  1182. compatible = "amlogic, meson, canvas";
  1183. dev_name = "amlogic-canvas";
  1184. status = "ok";
  1185. reg = <0x0 0xc8838000 0x0 0x400>;
  1186. };
  1187.  
  1188. rdma {
  1189. compatible = "amlogic, meson, rdma";
  1190. dev_name = "amlogic-rdma";
  1191. status = "ok";
  1192. interrupts = <0x0 0x59 0x1>;
  1193. interrupt-names = "rdma";
  1194. };
  1195.  
  1196. dwc2_b {
  1197. compatible = "amlogic,dwc2";
  1198. reg = <0x0 0xc9100000 0x0 0x40000>;
  1199. interrupts = <0x0 0x1f 0x4>;
  1200. status = "okay";
  1201. pl-periph-id = <0x1>;
  1202. clock-src = "usb1";
  1203. port-id = <0x1>;
  1204. port-type = <0x1>;
  1205. port-speed = <0x0>;
  1206. port-config = <0x0>;
  1207. port-dma = <0x0>;
  1208. port-id-mode = <0x1>;
  1209. gpio-hub-rst = "GPIOAO_4";
  1210. gpios = <0x25 0x4 0x0>;
  1211. phy-reg = <0xc0000020>;
  1212. phy-reg-size = <0x20>;
  1213. usb-fifo = <0x400>;
  1214. host-only-core = <0x1>;
  1215. pmu-apply-power = <0x1>;
  1216. cpu-type = "gxbaby";
  1217. resets = <0xc 0x3a 0xc 0x48 0xc 0x36>;
  1218. reset-names = "usb_general", "usb1", "usb1_to_ddr";
  1219. };
  1220.  
  1221. odroid_sysfs {
  1222. compatible = "odroid-sysfs";
  1223. };
  1224.  
  1225. dwc2_a {
  1226. compatible = "amlogic,dwc2";
  1227. reg = <0x0 0xc9000000 0x0 0x40000>;
  1228. interrupts = <0x0 0x1e 0x4>;
  1229. status = "okay";
  1230. pl-periph-id = <0x0>;
  1231. clock-src = "usb0";
  1232. port-id = <0x0>;
  1233. port-type = <0x0>;
  1234. port-speed = <0x0>;
  1235. port-config = <0x0>;
  1236. port-dma = <0x0>;
  1237. port-id-mode = <0x0>;
  1238. gpio-vbus-power = "GPIOAO_5";
  1239. gpios = <0x25 0x5 0x0>;
  1240. gpio-work-mask = <0x1>;
  1241. phy-reg = <0xc0000000>;
  1242. phy-reg-size = <0x20>;
  1243. usb-fifo = <0x400>;
  1244. cpu-type = "gxbaby";
  1245. resets = <0xc 0x3a 0xc 0x49 0xc 0x35>;
  1246. reset-names = "usb_general", "usb0", "usb0_to_ddr";
  1247. };
  1248.  
  1249. I2S {
  1250. compatible = "amlogic, aml-i2s-dai";
  1251. #sound-dai-cells = <0x0>;
  1252. resets = <0xc 0x26 0xc 0x12 0xc 0x28 0xc 0x29 0xc 0x2a 0xc 0x2b 0xc 0x2c 0xc 0x2d 0xc 0x2f 0xc 0x8e 0xc 0x22>;
  1253. reset-names = "top_glue", "aud_buf", "i2s_out", "amclk_measure", "aififo2", "aud_mixer", "mixer_reg", "adc", "top_level", "aoclk", "aud_in";
  1254. clocks = <0xc 0x1f 0xc 0x22>;
  1255. clock-names = "mpll0", "mclk";
  1256. linux,phandle = <0x32>;
  1257. phandle = <0x32>;
  1258. };
  1259.  
  1260. i2s_platform {
  1261. compatible = "amlogic, aml-i2s";
  1262. linux,phandle = <0x31>;
  1263. phandle = <0x31>;
  1264. };
  1265.  
  1266. SPDIF {
  1267. compatible = "amlogic, aml-spdif-dai";
  1268. #sound-dai-cells = <0x0>;
  1269. resets = <0xc 0x27 0xc 0x90>;
  1270. reset-names = "iec958", "iec958_amclk";
  1271. clocks = <0xc 0x20 0xc 0x24 0xc 0x22 0xc 0x25>;
  1272. clock-names = "mpll1", "i958", "mclk", "spdif";
  1273. };
  1274.  
  1275. spdif_codec {
  1276. #sound-dai-cells = <0x0>;
  1277. compatible = "amlogic, aml-spdif-codec";
  1278. pinctrl-names = "aml_audio_spdif";
  1279. pinctrl-0 = <0x2e>;
  1280. linux,phandle = <0x33>;
  1281. phandle = <0x33>;
  1282. };
  1283.  
  1284. PCM {
  1285. #sound-dai-cells = <0x0>;
  1286. compatible = "amlogic, aml-pcm-dai";
  1287. };
  1288.  
  1289. pcm_platform {
  1290. compatible = "amlogic, aml-pcm";
  1291. };
  1292.  
  1293. pcm_codec {
  1294. #sound-dai-cells = <0x0>;
  1295. compatible = "amlogic, pcm2BT-codec";
  1296. };
  1297.  
  1298. dummy {
  1299. #sound-dai-cells = <0x0>;
  1300. compatible = "amlogic, aml_dummy_codec";
  1301. status = "okay";
  1302. };
  1303.  
  1304. pcm5102 {
  1305. #sound-dai-cells = <0x0>;
  1306. compatible = "hardkernel, pcm5102";
  1307. status = "okay";
  1308. linux,phandle = <0x37>;
  1309. phandle = <0x37>;
  1310. };
  1311.  
  1312. odroid_hdmi {
  1313. compatible = "sound_card, odroid_hdmi";
  1314. status = "okay";
  1315. aml-sound-card,format = "i2s";
  1316. aml_sound_card,name = "ODROID-HDMI";
  1317. cpu_list = <0x2f>;
  1318. codec_list = <0x30>;
  1319. plat_list = <0x31>;
  1320.  
  1321. i2sdai0 {
  1322. sound-dai = <0x32>;
  1323. linux,phandle = <0x2f>;
  1324. phandle = <0x2f>;
  1325. };
  1326.  
  1327. dit0 {
  1328. sound-dai = <0x33>;
  1329. linux,phandle = <0x30>;
  1330. phandle = <0x30>;
  1331. };
  1332. };
  1333.  
  1334. odroid_dac {
  1335. compatible = "sound_card, odroid_dac";
  1336. status = "okay";
  1337. aml-sound-card,format = "i2s";
  1338. aml_sound_card,name = "ODROID-DAC";
  1339. pinctrl-names = "aml_snd_i2s";
  1340. pinctrl-0 = <0x34>;
  1341. cpu_list = <0x35>;
  1342. codec_list = <0x36>;
  1343. plat_list = <0x31>;
  1344.  
  1345. cpudai0 {
  1346. sound-dai = <0x32>;
  1347. linux,phandle = <0x35>;
  1348. phandle = <0x35>;
  1349. };
  1350.  
  1351. codec0 {
  1352. sound-dai = <0x37>;
  1353. linux,phandle = <0x36>;
  1354. phandle = <0x36>;
  1355. };
  1356. };
  1357.  
  1358. aml-sensor@0 {
  1359. compatible = "amlogic, aml-thermal";
  1360. #thermal-sensor-cells = <0x1>;
  1361. cpu_dyn_coeff = <0x8c>;
  1362. min_state = <0xf4240 0x190 0x1 0x2>;
  1363. gpu_dyn_coeff = <0x1b5>;
  1364. linux,phandle = <0x38>;
  1365. phandle = <0x38>;
  1366. };
  1367.  
  1368. thermal_cpu_cores {
  1369. #cooling-cells = <0x2>;
  1370. linux,phandle = <0x3b>;
  1371. phandle = <0x3b>;
  1372. };
  1373.  
  1374. thermal-zones {
  1375.  
  1376. soc_thermal {
  1377. polling-delay = <0x3e8>;
  1378. polling-delay-passive = <0x64>;
  1379. sustainable-power = <0xe10>;
  1380. thermal-sensors = <0x38 0x3>;
  1381.  
  1382. trips {
  1383.  
  1384. trip-point@0 {
  1385. temperature = <0x11170>;
  1386. hysteresis = <0x3e8>;
  1387. type = "passive";
  1388. };
  1389.  
  1390. trip-point@1 {
  1391. temperature = <0x13880>;
  1392. hysteresis = <0x3e8>;
  1393. type = "passive";
  1394. linux,phandle = <0x39>;
  1395. phandle = <0x39>;
  1396. };
  1397.  
  1398. trip-point@2 {
  1399. temperature = <0x15f90>;
  1400. hysteresis = <0x1388>;
  1401. type = "hot";
  1402. };
  1403.  
  1404. trip-point@3 {
  1405. temperature = <0x1adb0>;
  1406. hysteresis = <0x3e8>;
  1407. type = "critical";
  1408. };
  1409. };
  1410.  
  1411. cooling-maps {
  1412.  
  1413. cpufreq_cooling_map {
  1414. trip = <0x39>;
  1415. cooling-device = <0x3a 0x0 0x4>;
  1416. contribution = <0x400>;
  1417. };
  1418.  
  1419. cpucore_cooling_map {
  1420. trip = <0x39>;
  1421. cooling-device = <0x3b 0x0 0x3>;
  1422. contribution = <0x400>;
  1423. };
  1424.  
  1425. gpufreq_cooling_map {
  1426. trip = <0x39>;
  1427. cooling-device = <0x3c 0x0 0x4>;
  1428. contribution = <0x400>;
  1429. };
  1430. };
  1431. };
  1432. };
  1433.  
  1434. gpio_leds {
  1435. compatible = "gpio-leds";
  1436. pinctrl-names = "led_pins";
  1437. pinctrl-0 = <0x3d>;
  1438.  
  1439. heartbeat {
  1440. label = "blue:heartbeat";
  1441. gpios = <0x25 0xd 0x1>;
  1442. linux,default-trigger = "heartbeat";
  1443. };
  1444. };
  1445.  
  1446. onewire {
  1447. compatible = "w1-gpio";
  1448. gpios = <0x1f 0x71 0x0>;
  1449. };
  1450.  
  1451. pwm {
  1452. compatible = "amlogic, odroid-pwm";
  1453. dev_name = "meson_pwm";
  1454. status = "ok";
  1455. pinctrl-names = "odroid_pwm0", "odroid_pwm1";
  1456. pinctrl-0 = <0x3e>;
  1457. pinctrl-1 = <0x3f>;
  1458. };
  1459.  
  1460. pwm-ctrl {
  1461. compatible = "amlogic, pwm-ctrl";
  1462. dev_name = "pwm-ctrl";
  1463. status = "ok";
  1464. };
  1465.  
  1466. spi-gpio {
  1467. compatible = "spi-gpio";
  1468. #address-cells = <0x1>;
  1469. #size-cells = <0x0>;
  1470. status = "ok";
  1471. id = <0x0>;
  1472. gpio-sck = <0x1f 0x5e 0x0>;
  1473. gpio-miso = <0x1f 0x60 0x0>;
  1474. gpio-mosi = <0x1f 0x63 0x0>;
  1475. cs-gpios = <0x1f 0x5d 0x0 0x1f 0x59 0x0>;
  1476. num-chipselects = <0x2>;
  1477.  
  1478. spi-gpio@0 {
  1479. compatible = "spidev";
  1480. reg = <0x0>;
  1481. spi-max-frequency = <0x7a120>;
  1482. };
  1483. };
  1484. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement