Advertisement
Guest User

sun8i-h3-nanopi-r1s.dtb

a guest
Jun 17th, 2022
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.09 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. interrupt-parent = <0x01>;
  5. #address-cells = <0x01>;
  6. #size-cells = <0x01>;
  7. model = "FriendlyElec NanoPi-R1S-H3";
  8. compatible = "friendlyelec,nanopi-r1s-h3\0allwinner,sun8i-h3";
  9.  
  10. clocks {
  11. #address-cells = <0x01>;
  12. #size-cells = <0x01>;
  13. ranges;
  14.  
  15. osc24M_clk {
  16. #clock-cells = <0x00>;
  17. compatible = "fixed-clock";
  18. clock-frequency = <0x16e3600>;
  19. clock-output-names = "osc24M";
  20. linux,phandle = <0x1c>;
  21. phandle = <0x1c>;
  22. };
  23.  
  24. osc32k_clk {
  25. #clock-cells = <0x00>;
  26. compatible = "fixed-clock";
  27. clock-frequency = <0x8000>;
  28. clock-output-names = "osc32k";
  29. linux,phandle = <0x1d>;
  30. phandle = <0x1d>;
  31. };
  32.  
  33. internal-osc-clk {
  34. #clock-cells = <0x00>;
  35. compatible = "fixed-clock";
  36. clock-frequency = <0xf42400>;
  37. clock-accuracy = <0x11e1a300>;
  38. clock-output-names = "iosc";
  39. linux,phandle = <0x32>;
  40. phandle = <0x32>;
  41. };
  42. };
  43.  
  44. display-engine {
  45. compatible = "allwinner,sun8i-h3-display-engine";
  46. allwinner,pipelines = <0x02 0x03>;
  47. status = "okay";
  48. linux,phandle = <0x46>;
  49. phandle = <0x46>;
  50. };
  51.  
  52. soc {
  53. compatible = "simple-bus";
  54. #address-cells = <0x01>;
  55. #size-cells = <0x01>;
  56. ranges;
  57.  
  58. clock@1000000 {
  59. compatible = "allwinner,sun8i-a83t-de2-clk";
  60. reg = <0x1000000 0x100000>;
  61. clocks = <0x04 0x30 0x04 0x65>;
  62. clock-names = "bus\0mod";
  63. resets = <0x04 0x22>;
  64. #clock-cells = <0x01>;
  65. #reset-cells = <0x01>;
  66. assigned-clocks = <0x04 0x65>;
  67. assigned-clock-parents = <0x04 0x0d>;
  68. assigned-clock-rates = <0x19bfcc00>;
  69. linux,phandle = <0x08>;
  70. phandle = <0x08>;
  71. };
  72.  
  73. hdmi@1ee0000 {
  74. #sound-dai-cells = <0x00>;
  75. compatible = "allwinner,sun8i-h3-dw-hdmi";
  76. reg = <0x1ee0000 0x10000 0x1ef0000 0x10000>;
  77. reg-io-width = <0x01>;
  78. interrupts = <0x00 0x58 0x04>;
  79. clocks = <0x04 0x2f 0x04 0x6f 0x04 0x70>;
  80. clock-names = "iahb\0isfr\0ddc";
  81. resets = <0x04 0x20 0x04 0x21>;
  82. reset-names = "hdmi\0ddc";
  83. status = "okay";
  84. linux,phandle = <0x0d>;
  85. phandle = <0x0d>;
  86.  
  87. ports {
  88. #address-cells = <0x01>;
  89. #size-cells = <0x00>;
  90.  
  91. port@0 {
  92. #address-cells = <0x01>;
  93. #size-cells = <0x00>;
  94. reg = <0x00>;
  95. linux,phandle = <0x47>;
  96. phandle = <0x47>;
  97.  
  98. endpoint@0 {
  99. reg = <0x00>;
  100. remote-endpoint = <0x05>;
  101. linux,phandle = <0x11>;
  102. phandle = <0x11>;
  103. };
  104. };
  105.  
  106. port@1 {
  107. #address-cells = <0x01>;
  108. #size-cells = <0x00>;
  109. reg = <0x01>;
  110. linux,phandle = <0x48>;
  111. phandle = <0x48>;
  112.  
  113. endpoint {
  114. remote-endpoint = <0x06>;
  115. linux,phandle = <0x3e>;
  116. phandle = <0x3e>;
  117. };
  118. };
  119. };
  120. };
  121.  
  122. i2s@1c22800 {
  123. #sound-dai-cells = <0x00>;
  124. compatible = "allwinner,sun8i-h3-i2s";
  125. reg = <0x1c22800 0x400>;
  126. interrupts = <0x00 0x0f 0x04>;
  127. clocks = <0x04 0x3a 0x04 0x56>;
  128. clock-names = "apb\0mod";
  129. dmas = <0x07 0x1b>;
  130. resets = <0x04 0x2d>;
  131. dma-names = "tx";
  132. status = "okay";
  133. linux,phandle = <0x0e>;
  134. phandle = <0x0e>;
  135. };
  136.  
  137. mixer@1100000 {
  138. compatible = "allwinner,sun8i-h3-de2-mixer0";
  139. reg = <0x1100000 0x100000>;
  140. clocks = <0x08 0x00 0x08 0x06>;
  141. clock-names = "bus\0mod";
  142. resets = <0x08 0x00>;
  143. status = "okay";
  144. linux,phandle = <0x02>;
  145. phandle = <0x02>;
  146.  
  147. ports {
  148. #address-cells = <0x01>;
  149. #size-cells = <0x00>;
  150.  
  151. port@1 {
  152. #address-cells = <0x01>;
  153. #size-cells = <0x00>;
  154. reg = <0x01>;
  155. linux,phandle = <0x49>;
  156. phandle = <0x49>;
  157.  
  158. endpoint@0 {
  159. reg = <0x00>;
  160. remote-endpoint = <0x09>;
  161. linux,phandle = <0x0f>;
  162. phandle = <0x0f>;
  163. };
  164.  
  165. endpoint@1 {
  166. reg = <0x01>;
  167. remote-endpoint = <0x0a>;
  168. linux,phandle = <0x12>;
  169. phandle = <0x12>;
  170. };
  171. };
  172. };
  173. };
  174.  
  175. mixer@1200000 {
  176. compatible = "allwinner,sun8i-h3-de2-mixer1";
  177. reg = <0x1200000 0x100000>;
  178. clocks = <0x08 0x01 0x08 0x07>;
  179. clock-names = "bus\0mod";
  180. resets = <0x08 0x02>;
  181. status = "disabled";
  182. linux,phandle = <0x03>;
  183. phandle = <0x03>;
  184.  
  185. ports {
  186. #address-cells = <0x01>;
  187. #size-cells = <0x00>;
  188.  
  189. port@1 {
  190. #address-cells = <0x01>;
  191. #size-cells = <0x00>;
  192. reg = <0x01>;
  193. linux,phandle = <0x4a>;
  194. phandle = <0x4a>;
  195.  
  196. endpoint@0 {
  197. reg = <0x00>;
  198. remote-endpoint = <0x0b>;
  199. linux,phandle = <0x10>;
  200. phandle = <0x10>;
  201. };
  202.  
  203. endpoint@1 {
  204. reg = <0x01>;
  205. remote-endpoint = <0x0c>;
  206. linux,phandle = <0x13>;
  207. phandle = <0x13>;
  208. };
  209. };
  210. };
  211. };
  212.  
  213. sound {
  214. compatible = "simple-audio-card";
  215. simple-audio-card,format = "i2s";
  216. simple-audio-card,name = "allwinner,hdmi";
  217. simple-audio-card,mclk-fs = <0x100>;
  218. status = "okay";
  219. linux,phandle = <0x4b>;
  220. phandle = <0x4b>;
  221.  
  222. simple-audio-card,codec {
  223. sound-dai = <0x0d>;
  224. };
  225.  
  226. simple-audio-card,cpu {
  227. sound-dai = <0x0e>;
  228. };
  229. };
  230.  
  231. lcd-controller@1c0c000 {
  232. compatible = "allwinner,sun8i-h3-tcon";
  233. reg = <0x1c0c000 0x1000>;
  234. interrupts = <0x00 0x56 0x04>;
  235. clocks = <0x04 0x2a 0x04 0x66>;
  236. clock-names = "ahb\0tcon-ch1";
  237. resets = <0x04 0x1b>;
  238. reset-names = "lcd";
  239. status = "okay";
  240. linux,phandle = <0x4c>;
  241. phandle = <0x4c>;
  242.  
  243. ports {
  244. #address-cells = <0x01>;
  245. #size-cells = <0x00>;
  246.  
  247. port@0 {
  248. #address-cells = <0x01>;
  249. #size-cells = <0x00>;
  250. reg = <0x00>;
  251. linux,phandle = <0x4d>;
  252. phandle = <0x4d>;
  253.  
  254. endpoint@0 {
  255. reg = <0x00>;
  256. remote-endpoint = <0x0f>;
  257. linux,phandle = <0x09>;
  258. phandle = <0x09>;
  259. };
  260.  
  261. endpoint@1 {
  262. reg = <0x01>;
  263. remote-endpoint = <0x10>;
  264. linux,phandle = <0x0b>;
  265. phandle = <0x0b>;
  266. };
  267. };
  268.  
  269. port@1 {
  270. #address-cells = <0x01>;
  271. #size-cells = <0x00>;
  272. reg = <0x01>;
  273. linux,phandle = <0x4e>;
  274. phandle = <0x4e>;
  275.  
  276. endpoint@1 {
  277. reg = <0x01>;
  278. remote-endpoint = <0x11>;
  279. linux,phandle = <0x05>;
  280. phandle = <0x05>;
  281. };
  282. };
  283. };
  284. };
  285.  
  286. lcd-controller@1c0d000 {
  287. compatible = "allwinner,sun8i-h3-tcon";
  288. reg = <0x1c0d000 0x1000>;
  289. interrupts = <0x00 0x57 0x04>;
  290. clocks = <0x04 0x2b 0x04 0x67>;
  291. clock-names = "ahb\0tcon-ch1";
  292. resets = <0x04 0x1c>;
  293. reset-names = "lcd";
  294. status = "disabled";
  295. linux,phandle = <0x4f>;
  296. phandle = <0x4f>;
  297.  
  298. ports {
  299. #address-cells = <0x01>;
  300. #size-cells = <0x00>;
  301.  
  302. port@0 {
  303. #address-cells = <0x01>;
  304. #size-cells = <0x00>;
  305. reg = <0x00>;
  306. linux,phandle = <0x50>;
  307. phandle = <0x50>;
  308.  
  309. endpoint@0 {
  310. reg = <0x00>;
  311. remote-endpoint = <0x12>;
  312. linux,phandle = <0x0a>;
  313. phandle = <0x0a>;
  314. };
  315.  
  316. endpoint@1 {
  317. reg = <0x01>;
  318. remote-endpoint = <0x13>;
  319. linux,phandle = <0x0c>;
  320. phandle = <0x0c>;
  321. };
  322. };
  323.  
  324. port@1 {
  325. #address-cells = <0x01>;
  326. #size-cells = <0x00>;
  327. reg = <0x01>;
  328. linux,phandle = <0x51>;
  329. phandle = <0x51>;
  330. };
  331. };
  332. };
  333.  
  334. syscon@1c00000 {
  335. compatible = "allwinner,sun8i-h3-system-controller\0syscon";
  336. reg = <0x1c00000 0x1000>;
  337. linux,phandle = <0x1e>;
  338. phandle = <0x1e>;
  339. };
  340.  
  341. dma-controller@01c02000 {
  342. compatible = "allwinner,sun8i-h3-dma";
  343. reg = <0x1c02000 0x1000>;
  344. interrupts = <0x00 0x32 0x04>;
  345. clocks = <0x04 0x15>;
  346. resets = <0x04 0x06>;
  347. #dma-cells = <0x01>;
  348. linux,phandle = <0x07>;
  349. phandle = <0x07>;
  350. };
  351.  
  352. mmc@01c0f000 {
  353. reg = <0x1c0f000 0x1000>;
  354. resets = <0x04 0x07>;
  355. reset-names = "ahb";
  356. interrupts = <0x00 0x3c 0x04>;
  357. status = "okay";
  358. #address-cells = <0x01>;
  359. #size-cells = <0x00>;
  360. compatible = "allwinner,sun7i-a20-mmc";
  361. clocks = <0x04 0x16 0x04 0x47 0x04 0x49 0x04 0x48>;
  362. clock-names = "ahb\0mmc\0output\0sample";
  363. bus-width = <0x04>;
  364. non-removable;
  365. pinctrl-names = "default";
  366. pinctrl-0 = <0x14 0x15>;
  367. boot_device = <0x00>;
  368. vmmc-supply = <0x16>;
  369. linux,phandle = <0x52>;
  370. phandle = <0x52>;
  371. };
  372.  
  373. mmc@01c10000 {
  374. reg = <0x1c10000 0x1000>;
  375. resets = <0x04 0x08>;
  376. reset-names = "ahb";
  377. interrupts = <0x00 0x3d 0x04>;
  378. status = "okay";
  379. #address-cells = <0x01>;
  380. #size-cells = <0x00>;
  381. compatible = "allwinner,sun7i-a20-mmc";
  382. clocks = <0x04 0x17 0x04 0x4a 0x04 0x4c 0x04 0x4b>;
  383. clock-names = "ahb\0mmc\0output\0sample";
  384. pinctrl-names = "default";
  385. pinctrl-0 = <0x17>;
  386. vmmc-supply = <0x16>;
  387. vqmmc-supply = <0x16>;
  388. mmc-pwrseq = <0x18>;
  389. bus-width = <0x04>;
  390. non-removable;
  391. linux,phandle = <0x53>;
  392. phandle = <0x53>;
  393.  
  394. bcrmf@1 {
  395. reg = <0x01>;
  396. compatible = "brcm,bcm4329-fmac";
  397. interrupt-parent = <0x19>;
  398. interrupts = <0x06 0x0a 0x04>;
  399. interrupt-names = "host-wake";
  400. linux,phandle = <0x54>;
  401. phandle = <0x54>;
  402. };
  403. };
  404.  
  405. mmc@01c11000 {
  406. reg = <0x1c11000 0x1000>;
  407. resets = <0x04 0x09>;
  408. reset-names = "ahb";
  409. interrupts = <0x00 0x3e 0x04>;
  410. status = "disabled";
  411. #address-cells = <0x01>;
  412. #size-cells = <0x00>;
  413. compatible = "allwinner,sun7i-a20-mmc";
  414. clocks = <0x04 0x18 0x04 0x4d 0x04 0x4f 0x04 0x4e>;
  415. clock-names = "ahb\0mmc\0output\0sample";
  416. boot_device = <0x00>;
  417. linux,phandle = <0x55>;
  418. phandle = <0x55>;
  419. };
  420.  
  421. usb@01c19000 {
  422. compatible = "allwinner,sun8i-h3-musb";
  423. reg = <0x1c19000 0x400>;
  424. clocks = <0x04 0x20>;
  425. resets = <0x04 0x11>;
  426. interrupts = <0x00 0x47 0x04>;
  427. interrupt-names = "mc";
  428. phys = <0x1a 0x00>;
  429. phy-names = "usb";
  430. extcon = <0x1a 0x00>;
  431. status = "okay";
  432. dr_mode = "peripheral";
  433. linux,phandle = <0x56>;
  434. phandle = <0x56>;
  435. };
  436.  
  437. eeprom@01c14000 {
  438. compatible = "allwinner,sun8i-h3-sid";
  439. reg = <0x1c14000 0x400>;
  440. linux,phandle = <0x57>;
  441. phandle = <0x57>;
  442. };
  443.  
  444. phy@01c19400 {
  445. compatible = "allwinner,sun8i-h3-usb-phy";
  446. reg = <0x1c19400 0x2c 0x1c1a800 0x04 0x1c1b800 0x04 0x1c1c800 0x04 0x1c1d800 0x04>;
  447. reg-names = "phy_ctrl\0pmu0\0pmu1\0pmu2\0pmu3";
  448. clocks = <0x04 0x58 0x04 0x59 0x04 0x5a 0x04 0x5b>;
  449. clock-names = "usb0_phy\0usb1_phy\0usb2_phy\0usb3_phy";
  450. resets = <0x04 0x00 0x04 0x01 0x04 0x02 0x04 0x03>;
  451. reset-names = "usb0_reset\0usb1_reset\0usb2_reset\0usb3_reset";
  452. status = "okay";
  453. #phy-cells = <0x01>;
  454. usb0_id_det-gpios = <0x19 0x06 0x0c 0x00>;
  455. usb0_vbus-supply = <0x1b>;
  456. linux,phandle = <0x1a>;
  457. phandle = <0x1a>;
  458. };
  459.  
  460. usb@01c1a000 {
  461. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  462. reg = <0x1c1a000 0x100>;
  463. interrupts = <0x00 0x48 0x04>;
  464. clocks = <0x04 0x21 0x04 0x25>;
  465. resets = <0x04 0x12 0x04 0x16>;
  466. status = "okay";
  467. linux,phandle = <0x58>;
  468. phandle = <0x58>;
  469. };
  470.  
  471. usb@01c1a400 {
  472. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  473. reg = <0x1c1a400 0x100>;
  474. interrupts = <0x00 0x49 0x04>;
  475. clocks = <0x04 0x21 0x04 0x25 0x04 0x5c>;
  476. resets = <0x04 0x12 0x04 0x16>;
  477. status = "okay";
  478. linux,phandle = <0x59>;
  479. phandle = <0x59>;
  480. };
  481.  
  482. usb@01c1b000 {
  483. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  484. reg = <0x1c1b000 0x100>;
  485. interrupts = <0x00 0x4a 0x04>;
  486. clocks = <0x04 0x22 0x04 0x26>;
  487. resets = <0x04 0x13 0x04 0x17>;
  488. phys = <0x1a 0x01>;
  489. phy-names = "usb";
  490. status = "okay";
  491. linux,phandle = <0x5a>;
  492. phandle = <0x5a>;
  493. };
  494.  
  495. usb@01c1b400 {
  496. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  497. reg = <0x1c1b400 0x100>;
  498. interrupts = <0x00 0x4b 0x04>;
  499. clocks = <0x04 0x22 0x04 0x26 0x04 0x5d>;
  500. resets = <0x04 0x13 0x04 0x17>;
  501. phys = <0x1a 0x01>;
  502. phy-names = "usb";
  503. status = "okay";
  504. linux,phandle = <0x5b>;
  505. phandle = <0x5b>;
  506. };
  507.  
  508. usb@01c1c000 {
  509. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  510. reg = <0x1c1c000 0x100>;
  511. interrupts = <0x00 0x4c 0x04>;
  512. clocks = <0x04 0x23 0x04 0x27>;
  513. resets = <0x04 0x14 0x04 0x18>;
  514. phys = <0x1a 0x02>;
  515. phy-names = "usb";
  516. status = "okay";
  517. linux,phandle = <0x5c>;
  518. phandle = <0x5c>;
  519. };
  520.  
  521. usb@01c1c400 {
  522. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  523. reg = <0x1c1c400 0x100>;
  524. interrupts = <0x00 0x4d 0x04>;
  525. clocks = <0x04 0x23 0x04 0x27 0x04 0x5e>;
  526. resets = <0x04 0x14 0x04 0x18>;
  527. phys = <0x1a 0x02>;
  528. phy-names = "usb";
  529. status = "okay";
  530. linux,phandle = <0x5d>;
  531. phandle = <0x5d>;
  532. };
  533.  
  534. usb@01c1d000 {
  535. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  536. reg = <0x1c1d000 0x100>;
  537. interrupts = <0x00 0x4e 0x04>;
  538. clocks = <0x04 0x24 0x04 0x28>;
  539. resets = <0x04 0x15 0x04 0x19>;
  540. phys = <0x1a 0x03>;
  541. phy-names = "usb";
  542. status = "okay";
  543. linux,phandle = <0x5e>;
  544. phandle = <0x5e>;
  545. };
  546.  
  547. usb@01c1d400 {
  548. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  549. reg = <0x1c1d400 0x100>;
  550. interrupts = <0x00 0x4f 0x04>;
  551. clocks = <0x04 0x24 0x04 0x28 0x04 0x5f>;
  552. resets = <0x04 0x15 0x04 0x19>;
  553. phys = <0x1a 0x03>;
  554. phy-names = "usb";
  555. status = "okay";
  556. linux,phandle = <0x5f>;
  557. phandle = <0x5f>;
  558. };
  559.  
  560. clock@01c20000 {
  561. reg = <0x1c20000 0x400>;
  562. clocks = <0x1c 0x1d>;
  563. clock-names = "hosc\0losc";
  564. #clock-cells = <0x01>;
  565. #reset-cells = <0x01>;
  566. compatible = "allwinner,sun8i-h3-ccu";
  567. linux,phandle = <0x04>;
  568. phandle = <0x04>;
  569. };
  570.  
  571. pinctrl@01c20800 {
  572. reg = <0x1c20800 0x400>;
  573. interrupts = <0x00 0x0b 0x04 0x00 0x11 0x04>;
  574. clocks = <0x04 0x36 0x1c 0x1d>;
  575. clock-names = "apb\0hosc\0losc";
  576. gpio-controller;
  577. #gpio-cells = <0x03>;
  578. interrupt-controller;
  579. #interrupt-cells = <0x03>;
  580. compatible = "allwinner,sun8i-h3-pinctrl";
  581. linux,phandle = <0x19>;
  582. phandle = <0x19>;
  583.  
  584. csi {
  585. pins = "PE0\0PE1\0PE2\0PE3\0PE4\0PE5\0PE6\0PE7\0PE8\0PE9\0PE10\0PE11";
  586. function = "csi";
  587. linux,phandle = <0x31>;
  588. phandle = <0x31>;
  589. };
  590.  
  591. emac0 {
  592. pins = "PD0\0PD1\0PD2\0PD3\0PD4\0PD5\0PD7\0PD8\0PD9\0PD10\0PD12\0PD13\0PD15\0PD16\0PD17";
  593. function = "emac";
  594. drive-strength = <0x28>;
  595. linux,phandle = <0x1f>;
  596. phandle = <0x1f>;
  597. };
  598.  
  599. i2s0 {
  600. pins = "PA18\0PA19\0PA20\0PA21";
  601. function = "i2s0";
  602. linux,phandle = <0x27>;
  603. phandle = <0x27>;
  604. };
  605.  
  606. i2c0 {
  607. pins = "PA11\0PA12";
  608. function = "i2c0";
  609. linux,phandle = <0x2e>;
  610. phandle = <0x2e>;
  611. };
  612.  
  613. i2c1 {
  614. pins = "PA18\0PA19";
  615. function = "i2c1";
  616. linux,phandle = <0x2f>;
  617. phandle = <0x2f>;
  618. };
  619.  
  620. i2c2 {
  621. pins = "PE12\0PE13";
  622. function = "i2c2";
  623. linux,phandle = <0x30>;
  624. phandle = <0x30>;
  625. };
  626.  
  627. mmc0@0 {
  628. pins = "PF0\0PF1\0PF2\0PF3\0PF4\0PF5";
  629. function = "mmc0";
  630. drive-strength = <0x1e>;
  631. bias-pull-up;
  632. linux,phandle = <0x14>;
  633. phandle = <0x14>;
  634. };
  635.  
  636. mmc0_cd_pin@0 {
  637. pins = "PF6";
  638. function = "gpio_in";
  639. bias-pull-up;
  640. linux,phandle = <0x15>;
  641. phandle = <0x15>;
  642. };
  643.  
  644. mmc1@0 {
  645. pins = "PG0\0PG1\0PG2\0PG3\0PG4\0PG5";
  646. function = "mmc1";
  647. drive-strength = <0x1e>;
  648. bias-pull-up;
  649. linux,phandle = <0x17>;
  650. phandle = <0x17>;
  651. };
  652.  
  653. mmc2_8bit {
  654. pins = "PC5\0PC6\0PC8\0PC9\0PC10\0PC11\0PC12\0PC13\0PC14\0PC15\0PC16";
  655. function = "mmc2";
  656. drive-strength = <0x1e>;
  657. bias-pull-up;
  658. linux,phandle = <0x60>;
  659. phandle = <0x60>;
  660. };
  661.  
  662. spdif@0 {
  663. pins = "PA17";
  664. function = "spdif";
  665. linux,phandle = <0x61>;
  666. phandle = <0x61>;
  667. };
  668.  
  669. spi0 {
  670. pins = "PC0\0PC1\0PC2\0PC3";
  671. function = "spi0";
  672. linux,phandle = <0x22>;
  673. phandle = <0x22>;
  674. };
  675.  
  676. spi1 {
  677. pins = "PA15\0PA16\0PA14\0PA13";
  678. function = "spi1";
  679. linux,phandle = <0x24>;
  680. phandle = <0x24>;
  681. };
  682.  
  683. uart0@0 {
  684. pins = "PA4\0PA5";
  685. function = "uart0";
  686. linux,phandle = <0x29>;
  687. phandle = <0x29>;
  688. };
  689.  
  690. uart1 {
  691. pins = "PG6\0PG7";
  692. function = "uart1";
  693. linux,phandle = <0x2a>;
  694. phandle = <0x2a>;
  695. };
  696.  
  697. uart1_rts_cts {
  698. pins = "PG8\0PG9";
  699. function = "uart1";
  700. linux,phandle = <0x62>;
  701. phandle = <0x62>;
  702. };
  703.  
  704. uart2 {
  705. pins = "PA0\0PA1";
  706. function = "uart2";
  707. linux,phandle = <0x2b>;
  708. phandle = <0x2b>;
  709. };
  710.  
  711. uart2_rts_cts {
  712. pins = "PA2\0PA3";
  713. function = "uart2";
  714. linux,phandle = <0x63>;
  715. phandle = <0x63>;
  716. };
  717.  
  718. uart3 {
  719. pins = "PA13\0PA14";
  720. function = "uart3";
  721. linux,phandle = <0x2c>;
  722. phandle = <0x2c>;
  723. };
  724.  
  725. uart3_rts_cts {
  726. pins = "PA15\0PA16";
  727. function = "uart3";
  728. linux,phandle = <0x2d>;
  729. phandle = <0x2d>;
  730. };
  731.  
  732. pwm0 {
  733. pins = "PA5";
  734. function = "pwm0";
  735. linux,phandle = <0x25>;
  736. phandle = <0x25>;
  737. };
  738.  
  739. led_pins {
  740. pins = "PA10";
  741. function = "gpio_out";
  742. linux,phandle = <0x3f>;
  743. phandle = <0x3f>;
  744. };
  745.  
  746. spi0_cs_pins {
  747. pins = "PC3\0PA6";
  748. function = "gpio_out";
  749. linux,phandle = <0x23>;
  750. phandle = <0x23>;
  751. };
  752.  
  753. bt_pwr_pin@0 {
  754. pins = "PG13";
  755. function = "gpio_out";
  756. linux,phandle = <0x45>;
  757. phandle = <0x45>;
  758. };
  759. };
  760.  
  761. ths@01c25000 {
  762. #thermal-sensor-cells = <0x00>;
  763. compatible = "allwinner,sun8i-h3-ths";
  764. reg = <0x1c25000 0x400 0x1c14234 0x04>;
  765. interrupts = <0x00 0x1f 0x04>;
  766. resets = <0x04 0x2a>;
  767. reset-names = "ahb";
  768. clocks = <0x04 0x37 0x04 0x45>;
  769. clock-names = "ahb\0ths";
  770. linux,phandle = <0x37>;
  771. phandle = <0x37>;
  772. };
  773.  
  774. timer@01c20c00 {
  775. compatible = "allwinner,sun4i-a10-timer";
  776. reg = <0x1c20c00 0xa0>;
  777. interrupts = <0x00 0x12 0x04 0x00 0x13 0x04>;
  778. clocks = <0x1c>;
  779. };
  780.  
  781. ethernet@1c30000 {
  782. compatible = "allwinner,sun8i-h3-emac";
  783. syscon = <0x1e>;
  784. reg = <0x1c30000 0x10000>;
  785. interrupts = <0x00 0x52 0x04>;
  786. interrupt-names = "macirq";
  787. resets = <0x04 0x0c>;
  788. reset-names = "stmmaceth";
  789. clocks = <0x04 0x1b>;
  790. clock-names = "stmmaceth";
  791. #address-cells = <0x01>;
  792. #size-cells = <0x00>;
  793. status = "okay";
  794. local-mac-address = [00 00 00 00 00 00];
  795. pinctrl-names = "default";
  796. pinctrl-0 = <0x1f>;
  797. phy-supply = <0x20>;
  798. phy-handle = <0x21>;
  799. phy-mode = "rgmii";
  800. allwinner,leds-active-low;
  801. linux,phandle = <0x64>;
  802. phandle = <0x64>;
  803.  
  804. mdio {
  805. #address-cells = <0x01>;
  806. #size-cells = <0x00>;
  807. linux,phandle = <0x65>;
  808. phandle = <0x65>;
  809.  
  810. ethernet-phy@1 {
  811. compatible = "ethernet-phy-ieee802.3-c22";
  812. reg = <0x07>;
  813. clocks = <0x04 0x43>;
  814. resets = <0x04 0x27>;
  815. linux,phandle = <0x21>;
  816. phandle = <0x21>;
  817. };
  818. };
  819. };
  820.  
  821. spi@01c68000 {
  822. compatible = "allwinner,sun8i-h3-spi";
  823. reg = <0x1c68000 0x1000>;
  824. interrupts = <0x00 0x41 0x04>;
  825. clocks = <0x04 0x1e 0x04 0x52>;
  826. clock-names = "ahb\0mod";
  827. dmas = <0x07 0x17 0x07 0x17>;
  828. dma-names = "rx\0tx";
  829. pinctrl-names = "default";
  830. pinctrl-0 = <0x22 0x23>;
  831. resets = <0x04 0x0f>;
  832. status = "okay";
  833. #address-cells = <0x01>;
  834. #size-cells = <0x00>;
  835. cs-gpios = <0x19 0x02 0x03 0x00 0x19 0x00 0x06 0x00>;
  836. linux,phandle = <0x66>;
  837. phandle = <0x66>;
  838.  
  839. spi@0 {
  840. compatible = "nanopi,spidev";
  841. reg = <0x00>;
  842. status = "okay";
  843. spi-max-frequency = <0x989680>;
  844. linux,phandle = <0x67>;
  845. phandle = <0x67>;
  846. };
  847.  
  848. spiflash@0 {
  849. #address-cells = <0x01>;
  850. #size-cells = <0x01>;
  851. compatible = "mxicy,mx25l12805d";
  852. reg = <0x00>;
  853. status = "okay";
  854. spi-max-frequency = <0x2faf080>;
  855. mode = <0x00>;
  856. linux,phandle = <0x68>;
  857. phandle = <0x68>;
  858.  
  859. partition@0 {
  860. label = "uboot";
  861. reg = <0x00 0x80000>;
  862. };
  863.  
  864. partition@80000 {
  865. label = "dtb";
  866. reg = <0x80000 0x10000>;
  867. };
  868.  
  869. partition@90000 {
  870. compatible = "denx,uimage";
  871. label = "firmware";
  872. reg = <0x90000 0xf70000>;
  873. };
  874. };
  875.  
  876. pitft@0 {
  877. compatible = "sitronix,st7789v";
  878. reg = <0x00>;
  879. status = "disabled";
  880. spi-max-frequency = <0x2faf080>;
  881. rotate = <0x5a>;
  882. fps = <0x21>;
  883. buswidth = <0x08>;
  884. dc-gpios = <0x19 0x00 0x01 0x00>;
  885. reset-gpios = <0x19 0x06 0x0b 0x00>;
  886. led-gpios = <0x19 0x00 0x00 0x01>;
  887. debug = <0x00>;
  888. linux,phandle = <0x69>;
  889. phandle = <0x69>;
  890. };
  891.  
  892. pitft-ts@1 {
  893. compatible = "ti,ads7846";
  894. reg = <0x01>;
  895. status = "disabled";
  896. spi-max-frequency = <0x1e8480>;
  897. interrupt-parent = <0x19>;
  898. interrupts = <0x06 0x09 0x02>;
  899. pendown-gpio = <0x19 0x06 0x09 0x01>;
  900. ti,swap-xy;
  901. ti,vref-delay-usecs = <0x3e8>;
  902. ti,x-min = [00 64];
  903. ti,x-max = [0f ff];
  904. ti,y-min = [00 64];
  905. ti,y-max = [0f ff];
  906. ti,vref-mv = <0xce4>;
  907. ti,x-plate-ohms = [01 00];
  908. ti,penirq-recheck-delay-usecs = <0x0a>;
  909. ti,settle-delay-usec = [00 64];
  910. ti,keep-vref-on = <0x01>;
  911. ti,pressure-max = [0f ff];
  912. ti,debounce-max = <0x0a>;
  913. ti,debounce-tol = <0x1e>;
  914. ti,debounce-rep = <0x01>;
  915. linux,phandle = <0x6a>;
  916. phandle = <0x6a>;
  917. };
  918. };
  919.  
  920. spi@01c69000 {
  921. compatible = "allwinner,sun8i-h3-spi";
  922. reg = <0x1c69000 0x1000>;
  923. interrupts = <0x00 0x42 0x04>;
  924. clocks = <0x04 0x1f 0x04 0x53>;
  925. clock-names = "ahb\0mod";
  926. dmas = <0x07 0x18 0x07 0x18>;
  927. dma-names = "rx\0tx";
  928. pinctrl-names = "default";
  929. pinctrl-0 = <0x24>;
  930. resets = <0x04 0x10>;
  931. status = "disable";
  932. #address-cells = <0x01>;
  933. #size-cells = <0x00>;
  934. linux,phandle = <0x6b>;
  935. phandle = <0x6b>;
  936.  
  937. spi@1 {
  938. compatible = "nanopi,spidev";
  939. reg = <0x00>;
  940. spi-max-frequency = <0x989680>;
  941. linux,phandle = <0x6c>;
  942. phandle = <0x6c>;
  943. };
  944. };
  945.  
  946. watchdog@01c20ca0 {
  947. compatible = "allwinner,sun6i-a31-wdt";
  948. reg = <0x1c20ca0 0x20>;
  949. interrupts = <0x00 0x19 0x04>;
  950. linux,phandle = <0x6d>;
  951. phandle = <0x6d>;
  952. };
  953.  
  954. spdif@01c21000 {
  955. #sound-dai-cells = <0x00>;
  956. compatible = "allwinner,sun8i-h3-spdif";
  957. reg = <0x1c21000 0x400>;
  958. interrupts = <0x00 0x0c 0x04>;
  959. clocks = <0x04 0x35 0x04 0x57>;
  960. resets = <0x04 0x29>;
  961. clock-names = "apb\0spdif";
  962. dmas = <0x07 0x02>;
  963. dma-names = "tx";
  964. status = "disabled";
  965. linux,phandle = <0x6e>;
  966. phandle = <0x6e>;
  967. };
  968.  
  969. pwm@01c21400 {
  970. compatible = "allwinner,sun8i-h3-pwm";
  971. reg = <0x1c21400 0x08>;
  972. clocks = <0x1c>;
  973. #pwm-cells = <0x03>;
  974. status = "disabled";
  975. pinctrl-names = "default";
  976. pinctrl-0 = <0x25>;
  977. linux,phandle = <0x6f>;
  978. phandle = <0x6f>;
  979. };
  980.  
  981. codec@01c22c00 {
  982. #sound-dai-cells = <0x00>;
  983. compatible = "allwinner,sun8i-h3-codec";
  984. reg = <0x1c22c00 0x400>;
  985. interrupts = <0x00 0x1d 0x04>;
  986. clocks = <0x04 0x34 0x04 0x6d>;
  987. clock-names = "apb\0codec";
  988. resets = <0x04 0x28>;
  989. dmas = <0x07 0x0f 0x07 0x0f>;
  990. dma-names = "rx\0tx";
  991. allwinner,codec-analog-controls = <0x26>;
  992. status = "okay";
  993. allwinner,audio-routing = "Line Out\0LINEOUT\0MIC1\0Mic\0Mic\0MBIAS";
  994. linux,phandle = <0x70>;
  995. phandle = <0x70>;
  996. };
  997.  
  998. i2s@01c22000 {
  999. #sound-dai-cells = <0x00>;
  1000. compatible = "allwinner,sun8i-h3-i2s";
  1001. reg = <0x1c22000 0x400>;
  1002. interrupts = <0x00 0x0d 0x04>;
  1003. clocks = <0x04 0x38 0x04 0x54>;
  1004. clock-names = "apb\0mod";
  1005. resets = <0x04 0x2b>;
  1006. pinctrl-names = "default";
  1007. pinctrl-0 = <0x27>;
  1008. dmas = <0x07 0x03 0x07 0x03>;
  1009. dma-names = "rx\0tx";
  1010. status = "disabled";
  1011. #address-cells = <0x01>;
  1012. #size-cells = <0x00>;
  1013. sound-dai = <0x28>;
  1014. linux,phandle = <0x42>;
  1015. phandle = <0x42>;
  1016. };
  1017.  
  1018. serial@01c28000 {
  1019. compatible = "snps,dw-apb-uart";
  1020. reg = <0x1c28000 0x400>;
  1021. interrupts = <0x00 0x00 0x04>;
  1022. reg-shift = <0x02>;
  1023. reg-io-width = <0x04>;
  1024. clocks = <0x04 0x3e>;
  1025. resets = <0x04 0x31>;
  1026. dmas = <0x07 0x06 0x07 0x06>;
  1027. dma-names = "rx\0tx";
  1028. status = "okay";
  1029. pinctrl-names = "default";
  1030. pinctrl-0 = <0x29>;
  1031. linux,phandle = <0x71>;
  1032. phandle = <0x71>;
  1033. };
  1034.  
  1035. serial@01c28400 {
  1036. compatible = "snps,dw-apb-uart";
  1037. reg = <0x1c28400 0x400>;
  1038. interrupts = <0x00 0x01 0x04>;
  1039. reg-shift = <0x02>;
  1040. reg-io-width = <0x04>;
  1041. clocks = <0x04 0x3f>;
  1042. resets = <0x04 0x32>;
  1043. dmas = <0x07 0x07 0x07 0x07>;
  1044. dma-names = "rx\0tx";
  1045. status = "okay";
  1046. pinctrl-names = "default";
  1047. pinctrl-0 = <0x2a>;
  1048. linux,phandle = <0x72>;
  1049. phandle = <0x72>;
  1050. };
  1051.  
  1052. serial@01c28800 {
  1053. compatible = "snps,dw-apb-uart";
  1054. reg = <0x1c28800 0x400>;
  1055. interrupts = <0x00 0x02 0x04>;
  1056. reg-shift = <0x02>;
  1057. reg-io-width = <0x04>;
  1058. clocks = <0x04 0x40>;
  1059. resets = <0x04 0x33>;
  1060. dmas = <0x07 0x08 0x07 0x08>;
  1061. dma-names = "rx\0tx";
  1062. status = "okay";
  1063. pinctrl-names = "default";
  1064. pinctrl-0 = <0x2b>;
  1065. linux,phandle = <0x73>;
  1066. phandle = <0x73>;
  1067. };
  1068.  
  1069. serial@01c28c00 {
  1070. compatible = "snps,dw-apb-uart";
  1071. reg = <0x1c28c00 0x400>;
  1072. interrupts = <0x00 0x03 0x04>;
  1073. reg-shift = <0x02>;
  1074. reg-io-width = <0x04>;
  1075. clocks = <0x04 0x41>;
  1076. resets = <0x04 0x34>;
  1077. dmas = <0x07 0x09 0x07 0x09>;
  1078. dma-names = "rx\0tx";
  1079. status = "okay";
  1080. pinctrl-names = "default";
  1081. pinctrl-0 = <0x2c 0x2d>;
  1082. linux,phandle = <0x74>;
  1083. phandle = <0x74>;
  1084. };
  1085.  
  1086. i2c@01c2ac00 {
  1087. compatible = "allwinner,sun6i-a31-i2c";
  1088. reg = <0x1c2ac00 0x400>;
  1089. interrupts = <0x00 0x06 0x04>;
  1090. clocks = <0x04 0x3b>;
  1091. resets = <0x04 0x2e>;
  1092. pinctrl-names = "default";
  1093. pinctrl-0 = <0x2e>;
  1094. status = "okay";
  1095. #address-cells = <0x01>;
  1096. #size-cells = <0x00>;
  1097. linux,phandle = <0x75>;
  1098. phandle = <0x75>;
  1099.  
  1100. rtc@68 {
  1101. compatible = "dallas,ds1307";
  1102. reg = <0x68>;
  1103. };
  1104.  
  1105. eeprom@51 {
  1106. compatible = "microchip,24c02";
  1107. reg = <0x51>;
  1108. pagesize = <0x10>;
  1109. };
  1110. };
  1111.  
  1112. i2c@01c2b000 {
  1113. compatible = "allwinner,sun6i-a31-i2c";
  1114. reg = <0x1c2b000 0x400>;
  1115. interrupts = <0x00 0x07 0x04>;
  1116. clocks = <0x04 0x3c>;
  1117. resets = <0x04 0x2f>;
  1118. pinctrl-names = "default";
  1119. pinctrl-0 = <0x2f>;
  1120. status = "okay";
  1121. #address-cells = <0x01>;
  1122. #size-cells = <0x00>;
  1123. linux,phandle = <0x76>;
  1124. phandle = <0x76>;
  1125. };
  1126.  
  1127. i2c@01c2b400 {
  1128. compatible = "allwinner,sun6i-a31-i2c";
  1129. reg = <0x1c2b400 0x400>;
  1130. interrupts = <0x00 0x08 0x04>;
  1131. clocks = <0x04 0x3d>;
  1132. resets = <0x04 0x30>;
  1133. pinctrl-names = "default";
  1134. pinctrl-0 = <0x30>;
  1135. status = "okay";
  1136. #address-cells = <0x01>;
  1137. #size-cells = <0x00>;
  1138. linux,phandle = <0x77>;
  1139. phandle = <0x77>;
  1140. };
  1141.  
  1142. interrupt-controller@01c81000 {
  1143. compatible = "arm,gic-400";
  1144. reg = <0x1c81000 0x1000 0x1c82000 0x2000 0x1c84000 0x2000 0x1c86000 0x2000>;
  1145. interrupt-controller;
  1146. #interrupt-cells = <0x03>;
  1147. interrupts = <0x01 0x09 0xf04>;
  1148. linux,phandle = <0x01>;
  1149. phandle = <0x01>;
  1150. };
  1151.  
  1152. camera@01cb0000 {
  1153. compatible = "allwinner,sun8i-h3-csi\0allwinner,sun6i-a31-csi";
  1154. reg = <0x1cb0000 0x1000>;
  1155. interrupts = <0x00 0x54 0x04>;
  1156. clocks = <0x04 0x2d 0x04 0x6a 0x04 0x62>;
  1157. clock-names = "bus\0mod\0ram";
  1158. resets = <0x04 0x1e>;
  1159. pinctrl-names = "default";
  1160. pinctrl-0 = <0x31>;
  1161. status = "disabled";
  1162. linux,phandle = <0x78>;
  1163. phandle = <0x78>;
  1164. };
  1165.  
  1166. rtc@01f00000 {
  1167. compatible = "allwinner,sun6i-a31-rtc";
  1168. reg = <0x1f00000 0x54>;
  1169. interrupts = <0x00 0x28 0x04 0x00 0x29 0x04>;
  1170. linux,phandle = <0x79>;
  1171. phandle = <0x79>;
  1172. };
  1173.  
  1174. clock@1f01400 {
  1175. compatible = "allwinner,sun8i-h3-r-ccu";
  1176. reg = <0x1f01400 0x100>;
  1177. clocks = <0x1c 0x1d 0x32 0x04 0x09>;
  1178. clock-names = "hosc\0losc\0iosc\0pll-periph";
  1179. #clock-cells = <0x01>;
  1180. #reset-cells = <0x01>;
  1181. linux,phandle = <0x33>;
  1182. phandle = <0x33>;
  1183. };
  1184.  
  1185. codec-analog@01f015c0 {
  1186. compatible = "allwinner,sun8i-h3-codec-analog";
  1187. reg = <0x1f015c0 0x04>;
  1188. linux,phandle = <0x26>;
  1189. phandle = <0x26>;
  1190. };
  1191.  
  1192. ir@01f02000 {
  1193. compatible = "allwinner,sun5i-a13-ir";
  1194. clocks = <0x33 0x04 0x33 0x0b>;
  1195. clock-names = "apb\0ir";
  1196. resets = <0x33 0x00>;
  1197. interrupts = <0x00 0x25 0x04>;
  1198. reg = <0x1f02000 0x40>;
  1199. status = "disabled";
  1200. pinctrl-names = "default";
  1201. pinctrl-0 = <0x34>;
  1202. linux,phandle = <0x7a>;
  1203. phandle = <0x7a>;
  1204. };
  1205.  
  1206. i2c@01f02400 {
  1207. compatible = "allwinner,sun6i-a31-i2c";
  1208. reg = <0x1f02400 0x400>;
  1209. interrupts = <0x00 0x2c 0x04>;
  1210. pinctrl-names = "default";
  1211. pinctrl-0 = <0x35>;
  1212. clocks = <0x33 0x09>;
  1213. clock-frequency = <0x186a0>;
  1214. resets = <0x33 0x05>;
  1215. status = "disabled";
  1216. #address-cells = <0x01>;
  1217. #size-cells = <0x00>;
  1218. linux,phandle = <0x7b>;
  1219. phandle = <0x7b>;
  1220. };
  1221.  
  1222. pinctrl@01f02c00 {
  1223. compatible = "allwinner,sun8i-h3-r-pinctrl";
  1224. reg = <0x1f02c00 0x400>;
  1225. interrupts = <0x00 0x2d 0x04>;
  1226. clocks = <0x33 0x03 0x1c 0x1d>;
  1227. clock-names = "apb\0hosc\0losc";
  1228. gpio-controller;
  1229. #gpio-cells = <0x03>;
  1230. interrupt-controller;
  1231. #interrupt-cells = <0x03>;
  1232. linux,phandle = <0x3d>;
  1233. phandle = <0x3d>;
  1234.  
  1235. ir@0 {
  1236. pins = "PL11";
  1237. function = "s_cir_rx";
  1238. linux,phandle = <0x34>;
  1239. phandle = <0x34>;
  1240. };
  1241.  
  1242. r_i2c@0 {
  1243. pins = "PL0\0PL1";
  1244. function = "s_i2c";
  1245. linux,phandle = <0x35>;
  1246. phandle = <0x35>;
  1247. };
  1248.  
  1249. led_pins {
  1250. pins = "PL10";
  1251. function = "gpio_out";
  1252. linux,phandle = <0x40>;
  1253. phandle = <0x40>;
  1254. };
  1255.  
  1256. key_pins {
  1257. pins = "PL3";
  1258. function = "gpio_in";
  1259. linux,phandle = <0x41>;
  1260. phandle = <0x41>;
  1261. };
  1262.  
  1263. wifi_en_pin {
  1264. pins = "PL7";
  1265. function = "gpio_out";
  1266. linux,phandle = <0x44>;
  1267. phandle = <0x44>;
  1268. };
  1269. };
  1270.  
  1271. gpu@1c40000 {
  1272. compatible = "allwinner,sun8i-h3-mali\0allwinner,sun7i-a20-mali\0arm,mali-400";
  1273. reg = <0x1c40000 0x10000>;
  1274. interrupts = <0x00 0x61 0x04 0x00 0x62 0x04 0x00 0x63 0x04 0x00 0x64 0x04 0x00 0x66 0x04 0x00 0x67 0x04 0x00 0x65 0x04>;
  1275. interrupt-names = "gp\0gpmmu\0pp0\0ppmmu0\0pp1\0ppmmu1\0pmu";
  1276. clocks = <0x04 0x31 0x04 0x72>;
  1277. clock-names = "bus\0core";
  1278. resets = <0x04 0x23>;
  1279. memory-region = <0x36>;
  1280. assigned-clocks = <0x04 0x72>;
  1281. assigned-clock-rates = <0x16e36000>;
  1282. linux,phandle = <0x7c>;
  1283. phandle = <0x7c>;
  1284. };
  1285. };
  1286.  
  1287. thermal-zones {
  1288.  
  1289. cpu_thermal {
  1290. polling-delay-passive = <0x14a>;
  1291. polling-delay = <0x3e8>;
  1292. thermal-sensors = <0x37 0x00>;
  1293. linux,phandle = <0x7d>;
  1294. phandle = <0x7d>;
  1295.  
  1296. trips {
  1297.  
  1298. cpu_warm {
  1299. temperature = <0xea60>;
  1300. hysteresis = <0x7d0>;
  1301. type = "passive";
  1302. linux,phandle = <0x38>;
  1303. phandle = <0x38>;
  1304. };
  1305.  
  1306. cpu_hot {
  1307. temperature = <0x11170>;
  1308. hysteresis = <0x7d0>;
  1309. type = "passive";
  1310. linux,phandle = <0x3a>;
  1311. phandle = <0x3a>;
  1312. };
  1313.  
  1314. cpu_very_hot {
  1315. temperature = <0x13880>;
  1316. hysteresis = <0x7d0>;
  1317. type = "passive";
  1318. linux,phandle = <0x3b>;
  1319. phandle = <0x3b>;
  1320. };
  1321.  
  1322. cpu_crit {
  1323. temperature = <0x186a0>;
  1324. hysteresis = <0x7d0>;
  1325. type = "critical";
  1326. linux,phandle = <0x7e>;
  1327. phandle = <0x7e>;
  1328. };
  1329. };
  1330.  
  1331. cooling-maps {
  1332.  
  1333. cpu_warm_limit_cpu {
  1334. trip = <0x38>;
  1335. cooling-device = <0x39 0xffffffff 0x01>;
  1336. };
  1337.  
  1338. cpu_hot_limit_cpu {
  1339. trip = <0x3a>;
  1340. cooling-device = <0x39 0xffffffff 0x02>;
  1341. };
  1342.  
  1343. cpu_very_hot_limit_cpu {
  1344. trip = <0x3b>;
  1345. cooling-device = <0x39 0x03 0xffffffff>;
  1346. };
  1347. };
  1348. };
  1349. };
  1350.  
  1351. cpus {
  1352. #address-cells = <0x01>;
  1353. #size-cells = <0x00>;
  1354.  
  1355. cpu@0 {
  1356. compatible = "arm,cortex-a7";
  1357. device_type = "cpu";
  1358. reg = <0x00>;
  1359. clocks = <0x04 0x0e>;
  1360. clock-latency = <0x3b9b0>;
  1361. clock-frequency = <0x47868c00>;
  1362. operating-points = <0xf6180 0x13d620 0xc7380 0x10c8e0 0x98580 0x10c8e0 0x75300 0x10c8e0>;
  1363. #cooling-cells = <0x02>;
  1364. cooling-min-level = <0x00>;
  1365. cooling-max-level = <0x03>;
  1366. cpu0-supply = <0x3c>;
  1367. linux,phandle = <0x39>;
  1368. phandle = <0x39>;
  1369. };
  1370.  
  1371. cpu@1 {
  1372. compatible = "arm,cortex-a7";
  1373. device_type = "cpu";
  1374. reg = <0x01>;
  1375. clock-frequency = <0x47868c00>;
  1376. };
  1377.  
  1378. cpu@2 {
  1379. compatible = "arm,cortex-a7";
  1380. device_type = "cpu";
  1381. reg = <0x02>;
  1382. clock-frequency = <0x47868c00>;
  1383. };
  1384.  
  1385. cpu@3 {
  1386. compatible = "arm,cortex-a7";
  1387. device_type = "cpu";
  1388. reg = <0x03>;
  1389. clock-frequency = <0x47868c00>;
  1390. };
  1391. };
  1392.  
  1393. reserved-memory {
  1394. #address-cells = <0x01>;
  1395. #size-cells = <0x01>;
  1396. ranges;
  1397.  
  1398. linux,cma {
  1399. compatible = "shared-dma-pool";
  1400. reusable;
  1401. size = <0x4000000>;
  1402. alignment = <0x2000>;
  1403. linux,cma-default;
  1404. linux,phandle = <0x36>;
  1405. phandle = <0x36>;
  1406. };
  1407. };
  1408.  
  1409. timer {
  1410. compatible = "arm,armv7-timer";
  1411. interrupts = <0x01 0x0d 0xf08 0x01 0x0e 0xf08 0x01 0x0b 0xf08 0x01 0x0a 0xf08>;
  1412. };
  1413.  
  1414. ahci-5v {
  1415. compatible = "regulator-fixed";
  1416. regulator-name = "ahci-5v";
  1417. regulator-min-microvolt = <0x4c4b40>;
  1418. regulator-max-microvolt = <0x4c4b40>;
  1419. regulator-boot-on;
  1420. enable-active-high;
  1421. gpio = <0x19 0x01 0x08 0x00>;
  1422. status = "disabled";
  1423. linux,phandle = <0x7f>;
  1424. phandle = <0x7f>;
  1425. };
  1426.  
  1427. usb0-vbus {
  1428. compatible = "regulator-fixed";
  1429. regulator-name = "usb0-vbus";
  1430. regulator-min-microvolt = <0x4c4b40>;
  1431. regulator-max-microvolt = <0x4c4b40>;
  1432. enable-active-high;
  1433. gpio = <0x3d 0x00 0x02 0x00>;
  1434. status = "okay";
  1435. linux,phandle = <0x1b>;
  1436. phandle = <0x1b>;
  1437. };
  1438.  
  1439. usb1-vbus {
  1440. compatible = "regulator-fixed";
  1441. regulator-name = "usb1-vbus";
  1442. regulator-min-microvolt = <0x4c4b40>;
  1443. regulator-max-microvolt = <0x4c4b40>;
  1444. regulator-boot-on;
  1445. enable-active-high;
  1446. gpio = <0x19 0x07 0x06 0x00>;
  1447. status = "disabled";
  1448. linux,phandle = <0x80>;
  1449. phandle = <0x80>;
  1450. };
  1451.  
  1452. usb2-vbus {
  1453. compatible = "regulator-fixed";
  1454. regulator-name = "usb2-vbus";
  1455. regulator-min-microvolt = <0x4c4b40>;
  1456. regulator-max-microvolt = <0x4c4b40>;
  1457. regulator-boot-on;
  1458. enable-active-high;
  1459. gpio = <0x19 0x07 0x03 0x00>;
  1460. status = "disabled";
  1461. linux,phandle = <0x81>;
  1462. phandle = <0x81>;
  1463. };
  1464.  
  1465. vcc3v0 {
  1466. compatible = "regulator-fixed";
  1467. regulator-name = "vcc3v0";
  1468. regulator-min-microvolt = <0x2dc6c0>;
  1469. regulator-max-microvolt = <0x2dc6c0>;
  1470. linux,phandle = <0x82>;
  1471. phandle = <0x82>;
  1472. };
  1473.  
  1474. vcc3v3 {
  1475. compatible = "regulator-fixed";
  1476. regulator-name = "vcc3v3";
  1477. regulator-min-microvolt = <0x325aa0>;
  1478. regulator-max-microvolt = <0x325aa0>;
  1479. linux,phandle = <0x16>;
  1480. phandle = <0x16>;
  1481. };
  1482.  
  1483. vcc5v0 {
  1484. compatible = "regulator-fixed";
  1485. regulator-name = "vcc5v0";
  1486. regulator-min-microvolt = <0x4c4b40>;
  1487. regulator-max-microvolt = <0x4c4b40>;
  1488. linux,phandle = <0x43>;
  1489. phandle = <0x43>;
  1490. };
  1491.  
  1492. aliases {
  1493. serial0 = "/soc/serial@01c28000";
  1494. serial1 = "/soc/serial@01c28400";
  1495. serial2 = "/soc/serial@01c28800";
  1496. serial3 = "/soc/serial@01c28c00";
  1497. i2c0 = "/soc/i2c@01c2ac00";
  1498. i2c1 = "/soc/i2c@01c2b000";
  1499. i2c2 = "/soc/i2c@01c2b400";
  1500. spi0 = "/soc/spi@01c68000";
  1501. spi1 = "/soc/spi@01c69000";
  1502. pwm0 = "/soc/pwm@01c21400";
  1503. mmc0 = "/soc/mmc@01c0f000";
  1504. mmc2 = "/soc/mmc@01c11000";
  1505. ethernet0 = "/soc/ethernet@1c30000";
  1506. i2s0 = "/soc/i2s@01c22000";
  1507. pcm5102a = "/pcm5102a-codec";
  1508. spidev0 = "/soc/spi@01c68000/spi@0";
  1509. spiflash = "/soc/spi@01c68000/spiflash@0";
  1510. pitft = "/soc/spi@01c68000/pitft@0";
  1511. pitft_ts = "/soc/spi@01c68000/pitft-ts@1";
  1512. ir = "/soc/ir@01f02000";
  1513. };
  1514.  
  1515. chosen {
  1516. stdout-path = "serial0:115200n8";
  1517. };
  1518.  
  1519. connector {
  1520. compatible = "hdmi-connector";
  1521. type = "a";
  1522.  
  1523. port {
  1524.  
  1525. endpoint {
  1526. remote-endpoint = <0x3e>;
  1527. linux,phandle = <0x06>;
  1528. phandle = <0x06>;
  1529. };
  1530. };
  1531. };
  1532.  
  1533. leds {
  1534. compatible = "gpio-leds";
  1535. pinctrl-names = "default";
  1536. pinctrl-0 = <0x3f 0x40>;
  1537.  
  1538. status {
  1539. label = "status_led";
  1540. gpios = <0x19 0x00 0x0a 0x00>;
  1541. linux,default-trigger = "heartbeat";
  1542. };
  1543.  
  1544. led2 {
  1545. label = "LED2";
  1546. gpios = <0x19 0x06 0x0b 0x00>;
  1547. default-state = "off";
  1548. linux,default-trigger = "netdev";
  1549. };
  1550.  
  1551. led3 {
  1552. label = "LED3";
  1553. gpios = <0x19 0x00 0x09 0x00>;
  1554. default-state = "off";
  1555. linux,default-trigger = "netdev";
  1556. };
  1557. };
  1558.  
  1559. r_gpio_keys {
  1560. compatible = "gpio-keys";
  1561. input-name = "k1";
  1562. pinctrl-names = "default";
  1563. pinctrl-0 = <0x41>;
  1564.  
  1565. reset {
  1566. label = "reset";
  1567. linux,code = <0x101>;
  1568. gpios = <0x3d 0x00 0x03 0x01>;
  1569. };
  1570. };
  1571.  
  1572. gpio-regulator {
  1573. compatible = "regulator-gpio";
  1574. regulator-name = "vdd-cpux";
  1575. regulator-type = "voltage";
  1576. regulator-boot-on;
  1577. regulator-always-on;
  1578. regulator-min-microvolt = <0x10c8e0>;
  1579. regulator-max-microvolt = <0x13d620>;
  1580. regulator-ramp-delay = <0x32>;
  1581. gpios = <0x3d 0x00 0x06 0x00>;
  1582. gpios-states = <0x01>;
  1583. states = <0x10c8e0 0x00 0x13d620 0x01>;
  1584. linux,phandle = <0x3c>;
  1585. phandle = <0x3c>;
  1586. };
  1587.  
  1588. pcm5102a-codec {
  1589. #sound-dai-cells = <0x00>;
  1590. compatible = "ti,pcm5102a";
  1591. status = "disabled";
  1592. linux,phandle = <0x28>;
  1593. phandle = <0x28>;
  1594. };
  1595.  
  1596. sound_i2s {
  1597. compatible = "simple-audio-card";
  1598. simple-audio-card,name = "I2S-master";
  1599. simple-audio-card,mclk-fs = <0x100>;
  1600. simple-audio-card,format = "i2s";
  1601. status = "okay";
  1602.  
  1603. simple-audio-card,cpu {
  1604. sound-dai = <0x42>;
  1605. };
  1606.  
  1607. simple-audio-card,codec {
  1608. sound-dai = <0x28>;
  1609. };
  1610. };
  1611.  
  1612. vcc1v2 {
  1613. compatible = "regulator-fixed";
  1614. regulator-name = "vcc1v2";
  1615. regulator-min-microvolt = <0x124f80>;
  1616. regulator-max-microvolt = <0x124f80>;
  1617. regulator-always-on;
  1618. regulator-boot-on;
  1619. vin-supply = <0x43>;
  1620. gpio = <0x3d 0x00 0x08 0x00>;
  1621. enable-active-high;
  1622. linux,phandle = <0x83>;
  1623. phandle = <0x83>;
  1624. };
  1625.  
  1626. vcc-dram {
  1627. compatible = "regulator-fixed";
  1628. regulator-name = "vcc-dram";
  1629. regulator-min-microvolt = <0x16e360>;
  1630. regulator-max-microvolt = <0x16e360>;
  1631. regulator-always-on;
  1632. regulator-boot-on;
  1633. vin-supply = <0x43>;
  1634. gpio = <0x3d 0x00 0x09 0x00>;
  1635. enable-active-high;
  1636. linux,phandle = <0x84>;
  1637. phandle = <0x84>;
  1638. };
  1639.  
  1640. vdd-cpux {
  1641. compatible = "regulator-fixed";
  1642. regulator-name = "vdd-cpux-en";
  1643. regulator-min-microvolt = <0x124f80>;
  1644. regulator-max-microvolt = <0x124f80>;
  1645. regulator-always-on;
  1646. regulator-boot-on;
  1647. vin-supply = <0x43>;
  1648. gpio = <0x3d 0x00 0x08 0x00>;
  1649. enable-active-high;
  1650. linux,phandle = <0x85>;
  1651. phandle = <0x85>;
  1652. };
  1653.  
  1654. wifi_pwrseq {
  1655. compatible = "mmc-pwrseq-simple";
  1656. pinctrl-names = "default";
  1657. pinctrl-0 = <0x44>;
  1658. reset-gpios = <0x3d 0x00 0x07 0x01>;
  1659. post-power-on-delay-ms = <0xc8>;
  1660. linux,phandle = <0x18>;
  1661. phandle = <0x18>;
  1662. };
  1663.  
  1664. gmac-3v3 {
  1665. compatible = "regulator-fixed";
  1666. regulator-name = "gmac-3v3";
  1667. regulator-min-microvolt = <0x325aa0>;
  1668. regulator-max-microvolt = <0x325aa0>;
  1669. startup-delay-us = <0x186a0>;
  1670. enable-active-high;
  1671. gpio = <0x19 0x03 0x06 0x00>;
  1672. linux,phandle = <0x20>;
  1673. phandle = <0x20>;
  1674. };
  1675.  
  1676. rfkill_bt {
  1677. compatible = "rfkill-gpio";
  1678. pinctrl-names = "default";
  1679. pinctrl-0 = <0x45>;
  1680. reset-gpios = <0x19 0x06 0x0d 0x00>;
  1681. clocks = <0x1d>;
  1682. clock-frequency = <0x8000>;
  1683. rfkill-name = "sunxi-bt";
  1684. rfkill-type = "bluetooth";
  1685. };
  1686.  
  1687. __symbols__ {
  1688. osc24M = "/clocks/osc24M_clk";
  1689. osc32k = "/clocks/osc32k_clk";
  1690. iosc = "/clocks/internal-osc-clk";
  1691. de = "/display-engine";
  1692. display_clocks = "/soc/clock@1000000";
  1693. hdmi = "/soc/hdmi@1ee0000";
  1694. hdmi_in = "/soc/hdmi@1ee0000/ports/port@0";
  1695. hdmi_in_tcon0 = "/soc/hdmi@1ee0000/ports/port@0/endpoint@0";
  1696. hdmi_out = "/soc/hdmi@1ee0000/ports/port@1";
  1697. hdmi_out_con = "/soc/hdmi@1ee0000/ports/port@1/endpoint";
  1698. i2s2 = "/soc/i2s@1c22800";
  1699. mixer0 = "/soc/mixer@1100000";
  1700. mixer0_out = "/soc/mixer@1100000/ports/port@1";
  1701. mixer0_out_tcon0 = "/soc/mixer@1100000/ports/port@1/endpoint@0";
  1702. mixer0_out_tcon1 = "/soc/mixer@1100000/ports/port@1/endpoint@1";
  1703. mixer1 = "/soc/mixer@1200000";
  1704. mixer1_out = "/soc/mixer@1200000/ports/port@1";
  1705. mixer1_out_tcon0 = "/soc/mixer@1200000/ports/port@1/endpoint@0";
  1706. mixer1_out_tcon1 = "/soc/mixer@1200000/ports/port@1/endpoint@1";
  1707. sound_hdmi = "/soc/sound";
  1708. tcon0 = "/soc/lcd-controller@1c0c000";
  1709. tcon0_in = "/soc/lcd-controller@1c0c000/ports/port@0";
  1710. tcon0_in_mixer0 = "/soc/lcd-controller@1c0c000/ports/port@0/endpoint@0";
  1711. tcon0_in_mixer1 = "/soc/lcd-controller@1c0c000/ports/port@0/endpoint@1";
  1712. tcon0_out = "/soc/lcd-controller@1c0c000/ports/port@1";
  1713. tcon0_out_hdmi = "/soc/lcd-controller@1c0c000/ports/port@1/endpoint@1";
  1714. tcon1 = "/soc/lcd-controller@1c0d000";
  1715. tcon1_in = "/soc/lcd-controller@1c0d000/ports/port@0";
  1716. tcon1_in_mixer0 = "/soc/lcd-controller@1c0d000/ports/port@0/endpoint@0";
  1717. tcon1_in_mixer1 = "/soc/lcd-controller@1c0d000/ports/port@0/endpoint@1";
  1718. tcon1_out = "/soc/lcd-controller@1c0d000/ports/port@1";
  1719. syscon = "/soc/syscon@1c00000";
  1720. dma = "/soc/dma-controller@01c02000";
  1721. mmc0 = "/soc/mmc@01c0f000";
  1722. mmc1 = "/soc/mmc@01c10000";
  1723. brcmf = "/soc/mmc@01c10000/bcrmf@1";
  1724. mmc2 = "/soc/mmc@01c11000";
  1725. usb_otg = "/soc/usb@01c19000";
  1726. sid = "/soc/eeprom@01c14000";
  1727. usbphy = "/soc/phy@01c19400";
  1728. ehci0 = "/soc/usb@01c1a000";
  1729. ohci0 = "/soc/usb@01c1a400";
  1730. ehci1 = "/soc/usb@01c1b000";
  1731. ohci1 = "/soc/usb@01c1b400";
  1732. ehci2 = "/soc/usb@01c1c000";
  1733. ohci2 = "/soc/usb@01c1c400";
  1734. ehci3 = "/soc/usb@01c1d000";
  1735. ohci3 = "/soc/usb@01c1d400";
  1736. ccu = "/soc/clock@01c20000";
  1737. pio = "/soc/pinctrl@01c20800";
  1738. csi_pins = "/soc/pinctrl@01c20800/csi";
  1739. emac_rgmii_pins = "/soc/pinctrl@01c20800/emac0";
  1740. i2s0_pins = "/soc/pinctrl@01c20800/i2s0";
  1741. i2c0_pins = "/soc/pinctrl@01c20800/i2c0";
  1742. i2c1_pins = "/soc/pinctrl@01c20800/i2c1";
  1743. i2c2_pins = "/soc/pinctrl@01c20800/i2c2";
  1744. mmc0_pins_a = "/soc/pinctrl@01c20800/mmc0@0";
  1745. mmc0_cd_pin = "/soc/pinctrl@01c20800/mmc0_cd_pin@0";
  1746. mmc1_pins_a = "/soc/pinctrl@01c20800/mmc1@0";
  1747. mmc2_8bit_pins = "/soc/pinctrl@01c20800/mmc2_8bit";
  1748. spdif_tx_pins_a = "/soc/pinctrl@01c20800/spdif@0";
  1749. spi0_pins = "/soc/pinctrl@01c20800/spi0";
  1750. spi1_pins = "/soc/pinctrl@01c20800/spi1";
  1751. uart0_pins_a = "/soc/pinctrl@01c20800/uart0@0";
  1752. uart1_pins = "/soc/pinctrl@01c20800/uart1";
  1753. uart1_rts_cts_pins = "/soc/pinctrl@01c20800/uart1_rts_cts";
  1754. uart2_pins = "/soc/pinctrl@01c20800/uart2";
  1755. uart2_rts_cts_pins = "/soc/pinctrl@01c20800/uart2_rts_cts";
  1756. uart3_pins = "/soc/pinctrl@01c20800/uart3";
  1757. uart3_rts_cts_pins = "/soc/pinctrl@01c20800/uart3_rts_cts";
  1758. pwm0_pins = "/soc/pinctrl@01c20800/pwm0";
  1759. leds_npi = "/soc/pinctrl@01c20800/led_pins";
  1760. spi0_cs_pins = "/soc/pinctrl@01c20800/spi0_cs_pins";
  1761. bt_pwr_pin = "/soc/pinctrl@01c20800/bt_pwr_pin@0";
  1762. ths = "/soc/ths@01c25000";
  1763. emac = "/soc/ethernet@1c30000";
  1764. mdio = "/soc/ethernet@1c30000/mdio";
  1765. ext_rgmii_phy = "/soc/ethernet@1c30000/mdio/ethernet-phy@1";
  1766. int_mii_phy = "/soc/ethernet@1c30000/mdio/ethernet-phy@1";
  1767. spi0 = "/soc/spi@01c68000";
  1768. spidev0 = "/soc/spi@01c68000/spi@0";
  1769. spiflash = "/soc/spi@01c68000/spiflash@0";
  1770. pitft = "/soc/spi@01c68000/pitft@0";
  1771. pitft_ts = "/soc/spi@01c68000/pitft-ts@1";
  1772. spi1 = "/soc/spi@01c69000";
  1773. spidev1 = "/soc/spi@01c69000/spi@1";
  1774. wdt0 = "/soc/watchdog@01c20ca0";
  1775. spdif = "/soc/spdif@01c21000";
  1776. pwm = "/soc/pwm@01c21400";
  1777. codec = "/soc/codec@01c22c00";
  1778. i2s0 = "/soc/i2s@01c22000";
  1779. uart0 = "/soc/serial@01c28000";
  1780. uart1 = "/soc/serial@01c28400";
  1781. uart2 = "/soc/serial@01c28800";
  1782. uart3 = "/soc/serial@01c28c00";
  1783. i2c0 = "/soc/i2c@01c2ac00";
  1784. i2c1 = "/soc/i2c@01c2b000";
  1785. i2c2 = "/soc/i2c@01c2b400";
  1786. gic = "/soc/interrupt-controller@01c81000";
  1787. csi = "/soc/camera@01cb0000";
  1788. rtc = "/soc/rtc@01f00000";
  1789. r_ccu = "/soc/clock@1f01400";
  1790. codec_analog = "/soc/codec-analog@01f015c0";
  1791. ir = "/soc/ir@01f02000";
  1792. r_i2c = "/soc/i2c@01f02400";
  1793. r_pio = "/soc/pinctrl@01f02c00";
  1794. ir_pins_a = "/soc/pinctrl@01f02c00/ir@0";
  1795. r_i2c_pins_a = "/soc/pinctrl@01f02c00/r_i2c@0";
  1796. leds_r_npi = "/soc/pinctrl@01f02c00/led_pins";
  1797. sw_r_npi = "/soc/pinctrl@01f02c00/key_pins";
  1798. wifi_en_npi = "/soc/pinctrl@01f02c00/wifi_en_pin";
  1799. mali = "/soc/gpu@1c40000";
  1800. cpu_thermal = "/thermal-zones/cpu_thermal";
  1801. cpu_warm = "/thermal-zones/cpu_thermal/trips/cpu_warm";
  1802. cpu_hot = "/thermal-zones/cpu_thermal/trips/cpu_hot";
  1803. cpu_very_hot = "/thermal-zones/cpu_thermal/trips/cpu_very_hot";
  1804. cpu_crit = "/thermal-zones/cpu_thermal/trips/cpu_crit";
  1805. cpu0 = "/cpus/cpu@0";
  1806. cma = "/reserved-memory/linux,cma";
  1807. reg_ahci_5v = "/ahci-5v";
  1808. reg_usb0_vbus = "/usb0-vbus";
  1809. reg_usb1_vbus = "/usb1-vbus";
  1810. reg_usb2_vbus = "/usb2-vbus";
  1811. reg_vcc3v0 = "/vcc3v0";
  1812. reg_vcc3v3 = "/vcc3v3";
  1813. reg_vcc5v0 = "/vcc5v0";
  1814. hdmi_con_in = "/connector/port/endpoint";
  1815. vdd_cpux = "/gpio-regulator";
  1816. pcm5102a = "/pcm5102a-codec";
  1817. reg_vcc1v2 = "/vcc1v2";
  1818. reg_vcc_dram = "/vcc-dram";
  1819. reg_vdd_cpux = "/vdd-cpux";
  1820. wifi_pwrseq = "/wifi_pwrseq";
  1821. reg_gmac_3v3 = "/gmac-3v3";
  1822. };
  1823. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement