Advertisement
Guest User

Orange pi r1 h2+ dts with spi flash support

a guest
Jun 17th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.67 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. interrupt-parent = <0x01>;
  5. #address-cells = <0x01>;
  6. #size-cells = <0x01>;
  7. model = "Xunlong Orange Pi R1";
  8. compatible = "xunlong,orangepi-r1\0allwinner,sun8i-h2-plus";
  9.  
  10. chosen {
  11. #address-cells = <0x01>;
  12. #size-cells = <0x01>;
  13. ranges;
  14. stdout-path = "serial0:115200n8";
  15.  
  16. framebuffer-hdmi {
  17. compatible = "allwinner,simple-framebuffer\0simple-framebuffer";
  18. allwinner,pipeline = "mixer0-lcd0-hdmi";
  19. clocks = <0x02 0x06 0x03 0x66 0x03 0x6f>;
  20. status = "disabled";
  21. };
  22.  
  23. framebuffer-tve {
  24. compatible = "allwinner,simple-framebuffer\0simple-framebuffer";
  25. allwinner,pipeline = "mixer1-lcd1-tve";
  26. clocks = <0x02 0x07 0x03 0x67>;
  27. status = "disabled";
  28. };
  29. };
  30.  
  31. clocks {
  32. #address-cells = <0x01>;
  33. #size-cells = <0x01>;
  34. ranges;
  35.  
  36. osc24M_clk {
  37. #clock-cells = <0x00>;
  38. compatible = "fixed-clock";
  39. clock-frequency = <0x16e3600>;
  40. clock-output-names = "osc24M";
  41. linux,phandle = <0x0f>;
  42. phandle = <0x0f>;
  43. };
  44.  
  45. osc32k_clk {
  46. #clock-cells = <0x00>;
  47. compatible = "fixed-clock";
  48. clock-frequency = <0x8000>;
  49. clock-output-names = "osc32k";
  50. linux,phandle = <0x10>;
  51. phandle = <0x10>;
  52. };
  53.  
  54. internal-osc-clk {
  55. #clock-cells = <0x00>;
  56. compatible = "fixed-clock";
  57. clock-frequency = <0xf42400>;
  58. clock-accuracy = <0x11e1a300>;
  59. clock-output-names = "iosc";
  60. linux,phandle = <0x22>;
  61. phandle = <0x22>;
  62. };
  63. };
  64.  
  65. display-engine {
  66. compatible = "allwinner,sun8i-h3-display-engine";
  67. allwinner,pipelines = <0x04>;
  68. status = "disabled";
  69. };
  70.  
  71. soc {
  72. compatible = "simple-bus";
  73. #address-cells = <0x01>;
  74. #size-cells = <0x01>;
  75. ranges;
  76.  
  77. clock@1000000 {
  78. reg = <0x1000000 0x100000>;
  79. clocks = <0x03 0x65 0x03 0x30>;
  80. clock-names = "mod\0bus";
  81. resets = <0x03 0x22>;
  82. #clock-cells = <0x01>;
  83. #reset-cells = <0x01>;
  84. compatible = "allwinner,sun8i-h3-de2-clk";
  85. linux,phandle = <0x02>;
  86. phandle = <0x02>;
  87. };
  88.  
  89. mixer@1100000 {
  90. compatible = "allwinner,sun8i-h3-de2-mixer-0";
  91. reg = <0x1100000 0x100000>;
  92. clocks = <0x02 0x00 0x02 0x06>;
  93. clock-names = "bus\0mod";
  94. resets = <0x02 0x00>;
  95. linux,phandle = <0x04>;
  96. phandle = <0x04>;
  97.  
  98. ports {
  99. #address-cells = <0x01>;
  100. #size-cells = <0x00>;
  101.  
  102. port@1 {
  103. reg = <0x01>;
  104.  
  105. endpoint {
  106. remote-endpoint = <0x05>;
  107. linux,phandle = <0x06>;
  108. phandle = <0x06>;
  109. };
  110. };
  111. };
  112. };
  113.  
  114. syscon@1c00000 {
  115. compatible = "allwinner,sun8i-h3-system-controller\0syscon";
  116. reg = <0x1c00000 0x1000>;
  117. linux,phandle = <0x11>;
  118. phandle = <0x11>;
  119. };
  120.  
  121. dma-controller@1c02000 {
  122. compatible = "allwinner,sun8i-h3-dma";
  123. reg = <0x1c02000 0x1000>;
  124. interrupts = <0x00 0x32 0x04>;
  125. clocks = <0x03 0x15>;
  126. resets = <0x03 0x06>;
  127. #dma-cells = <0x01>;
  128. linux,phandle = <0x14>;
  129. phandle = <0x14>;
  130. };
  131.  
  132. lcd-controller@1c0c000 {
  133. compatible = "allwinner,sun8i-h3-tcon-tv\0allwinner,sun8i-a83t-tcon-tv";
  134. reg = <0x1c0c000 0x1000>;
  135. interrupts = <0x00 0x56 0x04>;
  136. clocks = <0x03 0x2a 0x03 0x66>;
  137. clock-names = "ahb\0tcon-ch1";
  138. resets = <0x03 0x1b>;
  139. reset-names = "lcd";
  140.  
  141. ports {
  142. #address-cells = <0x01>;
  143. #size-cells = <0x00>;
  144.  
  145. port@0 {
  146. reg = <0x00>;
  147.  
  148. endpoint {
  149. remote-endpoint = <0x06>;
  150. linux,phandle = <0x05>;
  151. phandle = <0x05>;
  152. };
  153. };
  154.  
  155. port@1 {
  156. #address-cells = <0x01>;
  157. #size-cells = <0x00>;
  158. reg = <0x01>;
  159.  
  160. endpoint@1 {
  161. reg = <0x01>;
  162. remote-endpoint = <0x07>;
  163. linux,phandle = <0x21>;
  164. phandle = <0x21>;
  165. };
  166. };
  167. };
  168. };
  169.  
  170. mmc@1c0f000 {
  171. reg = <0x1c0f000 0x1000>;
  172. pinctrl-names = "default";
  173. pinctrl-0 = <0x08>;
  174. resets = <0x03 0x07>;
  175. reset-names = "ahb";
  176. interrupts = <0x00 0x3c 0x04>;
  177. status = "okay";
  178. #address-cells = <0x01>;
  179. #size-cells = <0x00>;
  180. compatible = "allwinner,sun7i-a20-mmc";
  181. clocks = <0x03 0x16 0x03 0x47 0x03 0x49 0x03 0x48>;
  182. clock-names = "ahb\0mmc\0output\0sample";
  183. vmmc-supply = <0x09>;
  184. bus-width = <0x04>;
  185. cd-gpios = <0x0a 0x05 0x06 0x00>;
  186. cd-inverted;
  187. };
  188.  
  189. mmc@1c10000 {
  190. reg = <0x1c10000 0x1000>;
  191. pinctrl-names = "default";
  192. pinctrl-0 = <0x0b>;
  193. resets = <0x03 0x08>;
  194. reset-names = "ahb";
  195. interrupts = <0x00 0x3d 0x04>;
  196. status = "disabled";
  197. #address-cells = <0x01>;
  198. #size-cells = <0x00>;
  199. compatible = "allwinner,sun7i-a20-mmc";
  200. clocks = <0x03 0x17 0x03 0x4a 0x03 0x4c 0x03 0x4b>;
  201. clock-names = "ahb\0mmc\0output\0sample";
  202. vmmc-supply = <0x09>;
  203. mmc-pwrseq = <0x0c>;
  204. bus-width = <0x04>;
  205. non-removable;
  206. keep-power-in-suspend;
  207. vqmmc-supply = <0x09>;
  208.  
  209. sdio_wifi@1 {
  210. reg = <0x01>;
  211. compatible = "xradio,xr819";
  212. interrupt-parent = <0x0a>;
  213. interrupts = <0x06 0x0a 0x01>;
  214. interrupt-names = "host-wake";
  215. };
  216. };
  217.  
  218. mmc@1c11000 {
  219. reg = <0x1c11000 0x1000>;
  220. resets = <0x03 0x09>;
  221. reset-names = "ahb";
  222. interrupts = <0x00 0x3e 0x04>;
  223. status = "disabled";
  224. #address-cells = <0x01>;
  225. #size-cells = <0x00>;
  226. compatible = "allwinner,sun7i-a20-mmc";
  227. clocks = <0x03 0x18 0x03 0x4d 0x03 0x4f 0x03 0x4e>;
  228. clock-names = "ahb\0mmc\0output\0sample";
  229. };
  230.  
  231. usb@1c19000 {
  232. compatible = "allwinner,sun8i-h3-musb";
  233. reg = <0x1c19000 0x400>;
  234. clocks = <0x03 0x20>;
  235. resets = <0x03 0x11>;
  236. interrupts = <0x00 0x47 0x04>;
  237. interrupt-names = "mc";
  238. phys = <0x0d 0x00>;
  239. phy-names = "usb";
  240. extcon = <0x0d 0x00>;
  241. status = "okay";
  242. dr_mode = "peripheral";
  243. };
  244.  
  245. phy@1c19400 {
  246. compatible = "allwinner,sun8i-h3-usb-phy";
  247. reg = <0x1c19400 0x2c 0x1c1a800 0x04 0x1c1b800 0x04 0x1c1c800 0x04 0x1c1d800 0x04>;
  248. reg-names = "phy_ctrl\0pmu0\0pmu1\0pmu2\0pmu3";
  249. clocks = <0x03 0x58 0x03 0x59 0x03 0x5a 0x03 0x5b>;
  250. clock-names = "usb0_phy\0usb1_phy\0usb2_phy\0usb3_phy";
  251. resets = <0x03 0x00 0x03 0x01 0x03 0x02 0x03 0x03>;
  252. reset-names = "usb0_reset\0usb1_reset\0usb2_reset\0usb3_reset";
  253. status = "okay";
  254. #phy-cells = <0x01>;
  255. usb0_id_det-gpios = <0x0a 0x06 0x0c 0x00>;
  256. usb1_vbus-supply = <0x0e>;
  257. linux,phandle = <0x0d>;
  258. phandle = <0x0d>;
  259. };
  260.  
  261. usb@1c1a000 {
  262. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  263. reg = <0x1c1a000 0x100>;
  264. interrupts = <0x00 0x48 0x04>;
  265. clocks = <0x03 0x21 0x03 0x25>;
  266. resets = <0x03 0x12 0x03 0x16>;
  267. status = "okay";
  268. };
  269.  
  270. usb@1c1a400 {
  271. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  272. reg = <0x1c1a400 0x100>;
  273. interrupts = <0x00 0x49 0x04>;
  274. clocks = <0x03 0x21 0x03 0x25 0x03 0x5c>;
  275. resets = <0x03 0x12 0x03 0x16>;
  276. status = "okay";
  277. };
  278.  
  279. usb@1c1b000 {
  280. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  281. reg = <0x1c1b000 0x100>;
  282. interrupts = <0x00 0x4a 0x04>;
  283. clocks = <0x03 0x22 0x03 0x26>;
  284. resets = <0x03 0x13 0x03 0x17>;
  285. phys = <0x0d 0x01>;
  286. phy-names = "usb";
  287. status = "okay";
  288. };
  289.  
  290. usb@1c1b400 {
  291. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  292. reg = <0x1c1b400 0x100>;
  293. interrupts = <0x00 0x4b 0x04>;
  294. clocks = <0x03 0x22 0x03 0x26 0x03 0x5d>;
  295. resets = <0x03 0x13 0x03 0x17>;
  296. phys = <0x0d 0x01>;
  297. phy-names = "usb";
  298. status = "disabled";
  299. };
  300.  
  301. usb@1c1c000 {
  302. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  303. reg = <0x1c1c000 0x100>;
  304. interrupts = <0x00 0x4c 0x04>;
  305. clocks = <0x03 0x23 0x03 0x27>;
  306. resets = <0x03 0x14 0x03 0x18>;
  307. phys = <0x0d 0x02>;
  308. phy-names = "usb";
  309. status = "disabled";
  310. };
  311.  
  312. usb@1c1c400 {
  313. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  314. reg = <0x1c1c400 0x100>;
  315. interrupts = <0x00 0x4d 0x04>;
  316. clocks = <0x03 0x23 0x03 0x27 0x03 0x5e>;
  317. resets = <0x03 0x14 0x03 0x18>;
  318. phys = <0x0d 0x02>;
  319. phy-names = "usb";
  320. status = "disabled";
  321. };
  322.  
  323. usb@1c1d000 {
  324. compatible = "allwinner,sun8i-h3-ehci\0generic-ehci";
  325. reg = <0x1c1d000 0x100>;
  326. interrupts = <0x00 0x4e 0x04>;
  327. clocks = <0x03 0x24 0x03 0x28>;
  328. resets = <0x03 0x15 0x03 0x19>;
  329. phys = <0x0d 0x03>;
  330. phy-names = "usb";
  331. status = "disabled";
  332. };
  333.  
  334. usb@1c1d400 {
  335. compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
  336. reg = <0x1c1d400 0x100>;
  337. interrupts = <0x00 0x4f 0x04>;
  338. clocks = <0x03 0x24 0x03 0x28 0x03 0x5f>;
  339. resets = <0x03 0x15 0x03 0x19>;
  340. phys = <0x0d 0x03>;
  341. phy-names = "usb";
  342. status = "disabled";
  343. };
  344.  
  345. clock@1c20000 {
  346. reg = <0x1c20000 0x400>;
  347. clocks = <0x0f 0x10>;
  348. clock-names = "hosc\0losc";
  349. #clock-cells = <0x01>;
  350. #reset-cells = <0x01>;
  351. compatible = "allwinner,sun8i-h3-ccu";
  352. linux,phandle = <0x03>;
  353. phandle = <0x03>;
  354. };
  355.  
  356. pinctrl@1c20800 {
  357. reg = <0x1c20800 0x400>;
  358. interrupts = <0x00 0x0b 0x04 0x00 0x11 0x04>;
  359. clocks = <0x03 0x36 0x0f 0x10>;
  360. clock-names = "apb\0hosc\0losc";
  361. gpio-controller;
  362. #gpio-cells = <0x03>;
  363. interrupt-controller;
  364. #interrupt-cells = <0x03>;
  365. compatible = "allwinner,sun8i-h3-pinctrl";
  366. linux,phandle = <0x0a>;
  367. phandle = <0x0a>;
  368.  
  369. emac0 {
  370. pins = "PD0\0PD1\0PD2\0PD3\0PD4\0PD5\0PD7\0PD8\0PD9\0PD10\0PD12\0PD13\0PD15\0PD16\0PD17";
  371. function = "emac";
  372. drive-strength = <0x28>;
  373. };
  374.  
  375. i2c0 {
  376. pins = "PA11\0PA12";
  377. function = "i2c0";
  378. linux,phandle = <0x1d>;
  379. phandle = <0x1d>;
  380. };
  381.  
  382. i2c1 {
  383. pins = "PA18\0PA19";
  384. function = "i2c1";
  385. linux,phandle = <0x1e>;
  386. phandle = <0x1e>;
  387. };
  388.  
  389. i2c2 {
  390. pins = "PE12\0PE13";
  391. function = "i2c2";
  392. linux,phandle = <0x1f>;
  393. phandle = <0x1f>;
  394. };
  395.  
  396. mmc0 {
  397. pins = "PF0\0PF1\0PF2\0PF3\0PF4\0PF5";
  398. function = "mmc0";
  399. drive-strength = <0x1e>;
  400. bias-pull-up;
  401. linux,phandle = <0x08>;
  402. phandle = <0x08>;
  403. };
  404.  
  405. mmc0_cd_pin {
  406. pins = "PF6";
  407. function = "gpio_in";
  408. bias-pull-up;
  409. };
  410.  
  411. mmc1 {
  412. pins = "PG0\0PG1\0PG2\0PG3\0PG4\0PG5";
  413. function = "mmc1";
  414. drive-strength = <0x1e>;
  415. bias-pull-up;
  416. linux,phandle = <0x0b>;
  417. phandle = <0x0b>;
  418. };
  419.  
  420. mmc2_8bit {
  421. pins = "PC5\0PC6\0PC8\0PC9\0PC10\0PC11\0PC12\0PC13\0PC14\0PC15\0PC16";
  422. function = "mmc2";
  423. drive-strength = <0x1e>;
  424. bias-pull-up;
  425. };
  426.  
  427. spdif {
  428. pins = "PA17";
  429. function = "spdif";
  430. linux,phandle = <0x17>;
  431. phandle = <0x17>;
  432. };
  433.  
  434. spi0 {
  435. pins = "PC0\0PC1\0PC2\0PC3";
  436. function = "spi0";
  437. linux,phandle = <0x15>;
  438. phandle = <0x15>;
  439. };
  440.  
  441. spi1 {
  442. pins = "PA15\0PA16\0PA14\0PA13";
  443. function = "spi1";
  444. linux,phandle = <0x16>;
  445. phandle = <0x16>;
  446. };
  447.  
  448. uart0 {
  449. pins = "PA4\0PA5";
  450. function = "uart0";
  451. linux,phandle = <0x1a>;
  452. phandle = <0x1a>;
  453. };
  454.  
  455. uart1 {
  456. pins = "PG6\0PG7";
  457. function = "uart1";
  458. linux,phandle = <0x1b>;
  459. phandle = <0x1b>;
  460. };
  461.  
  462. uart1_rts_cts {
  463. pins = "PG8\0PG9";
  464. function = "uart1";
  465. };
  466.  
  467. uart2 {
  468. pins = "PA0\0PA1";
  469. function = "uart2";
  470. linux,phandle = <0x1c>;
  471. phandle = <0x1c>;
  472. };
  473.  
  474. uart3 {
  475. pins = "PA13\0PA14";
  476. function = "uart3";
  477. };
  478.  
  479. uart3_rts_cts {
  480. pins = "PA15\0PA16";
  481. function = "uart3";
  482. };
  483.  
  484. w1_pins {
  485. pins = "PA6";
  486. function = "gpio_in";
  487. pull = <0x00>;
  488. linux,phandle = <0x29>;
  489. phandle = <0x29>;
  490. };
  491.  
  492. pwm0 {
  493. pins = "PA5";
  494. function = "pwm0";
  495. drive = <0x00>;
  496. pull = <0x00>;
  497. linux,phandle = <0x18>;
  498. phandle = <0x18>;
  499. };
  500.  
  501. gpio_keys {
  502. pins = "PA13\0PA14\0PA15\0PA16\0PA2";
  503. function = "gpio_in";
  504. bias-pull-up;
  505. linux,phandle = <0x2c>;
  506. phandle = <0x2c>;
  507. };
  508.  
  509. pinctrl_button {
  510. pins = "PA0";
  511. function = "gpio_in";
  512. bias-pull-up;
  513. linux,phandle = <0x2d>;
  514. phandle = <0x2d>;
  515. };
  516.  
  517. pinctrl_rotary {
  518. pins = "PA1\0PA3";
  519. function = "gpio_in";
  520. bias-pull-up;
  521. linux,phandle = <0x2e>;
  522. phandle = <0x2e>;
  523. };
  524.  
  525. pps_pins {
  526. pins = "PA7";
  527. function = "gpio_in";
  528. linux,phandle = <0x2f>;
  529. phandle = <0x2f>;
  530. };
  531. };
  532.  
  533. timer@1c20c00 {
  534. compatible = "allwinner,sun4i-a10-timer";
  535. reg = <0x1c20c00 0xa0>;
  536. interrupts = <0x00 0x12 0x04 0x00 0x13 0x04>;
  537. clocks = <0x0f>;
  538. };
  539.  
  540. ethernet@1c30000 {
  541. compatible = "allwinner,sun8i-h3-emac";
  542. syscon = <0x11>;
  543. reg = <0x1c30000 0x10000>;
  544. interrupts = <0x00 0x52 0x04>;
  545. interrupt-names = "macirq";
  546. resets = <0x03 0x0c>;
  547. reset-names = "stmmaceth";
  548. clocks = <0x03 0x1b>;
  549. clock-names = "stmmaceth";
  550. #address-cells = <0x01>;
  551. #size-cells = <0x00>;
  552. status = "okay";
  553. phy-handle = <0x12>;
  554. phy-mode = "mii";
  555. allwinner,leds-active-low;
  556.  
  557. mdio {
  558. #address-cells = <0x01>;
  559. #size-cells = <0x00>;
  560. compatible = "snps,dwmac-mdio";
  561. linux,phandle = <0x13>;
  562. phandle = <0x13>;
  563. };
  564.  
  565. mdio-mux {
  566. compatible = "allwinner,sun8i-h3-mdio-mux";
  567. #address-cells = <0x01>;
  568. #size-cells = <0x00>;
  569. mdio-parent-bus = <0x13>;
  570.  
  571. mdio@1 {
  572. compatible = "allwinner,sun8i-h3-mdio-internal";
  573. reg = <0x01>;
  574. #address-cells = <0x01>;
  575. #size-cells = <0x00>;
  576.  
  577. ethernet-phy@1 {
  578. compatible = "ethernet-phy-ieee802.3-c22";
  579. reg = <0x01>;
  580. clocks = <0x03 0x43>;
  581. resets = <0x03 0x27>;
  582. linux,phandle = <0x12>;
  583. phandle = <0x12>;
  584. };
  585. };
  586.  
  587. mdio@2 {
  588. reg = <0x02>;
  589. #address-cells = <0x01>;
  590. #size-cells = <0x00>;
  591. };
  592. };
  593. };
  594.  
  595. spi@1c68000 {
  596. compatible = "allwinner,sun8i-h3-spi";
  597. reg = <0x1c68000 0x1000>;
  598. interrupts = <0x00 0x41 0x04>;
  599. clocks = <0x03 0x1e 0x03 0x52>;
  600. clock-names = "ahb\0mod";
  601. dmas = <0x14 0x17 0x14 0x17>;
  602. dma-names = "rx\0tx";
  603. pinctrl-names = "default";
  604. pinctrl-0 = <0x15>;
  605. resets = <0x03 0x0f>;
  606. status = "okay";
  607. #address-cells = <0x01>;
  608. #size-cells = <0x00>;
  609.  
  610. flash@0 {
  611. #address-cells = <0x01>;
  612. #size-cells = <0x01>;
  613. compatible = "mxicy,mx25l12805d\0jedec,spi-nor";
  614. reg = <0x00>;
  615. spi-max-frequency = <0x2625a00>;
  616.  
  617. partitions {
  618. compatible = "fixed-partitions";
  619. #address-cells = <0x01>;
  620. #size-cells = <0x01>;
  621.  
  622. partition@0 {
  623. label = "uboot";
  624. reg = <0x00 0x80000>;
  625. };
  626.  
  627. partition@80000 {
  628. label = "dtb";
  629. reg = <0x80000 0x10000>;
  630. };
  631.  
  632. partition@90000 {
  633. compatible = "denx,uimage";
  634. label = "firmware";
  635. reg = <0x90000 0xf70000>;
  636. };
  637. };
  638. };
  639. };
  640.  
  641. spi@1c69000 {
  642. compatible = "allwinner,sun8i-h3-spi";
  643. reg = <0x1c69000 0x1000>;
  644. interrupts = <0x00 0x42 0x04>;
  645. clocks = <0x03 0x1f 0x03 0x53>;
  646. clock-names = "ahb\0mod";
  647. dmas = <0x14 0x18 0x14 0x18>;
  648. dma-names = "rx\0tx";
  649. pinctrl-names = "default";
  650. pinctrl-0 = <0x16>;
  651. resets = <0x03 0x10>;
  652. status = "disabled";
  653. #address-cells = <0x01>;
  654. #size-cells = <0x00>;
  655. };
  656.  
  657. watchdog@1c20ca0 {
  658. compatible = "allwinner,sun6i-a31-wdt";
  659. reg = <0x1c20ca0 0x20>;
  660. interrupts = <0x00 0x19 0x04>;
  661. };
  662.  
  663. spdif@1c21000 {
  664. #sound-dai-cells = <0x00>;
  665. compatible = "allwinner,sun8i-h3-spdif";
  666. reg = <0x1c21000 0x400>;
  667. interrupts = <0x00 0x0c 0x04>;
  668. clocks = <0x03 0x35 0x03 0x57>;
  669. resets = <0x03 0x29>;
  670. clock-names = "apb\0spdif";
  671. dmas = <0x14 0x02>;
  672. dma-names = "tx";
  673. status = "disabled";
  674. pinctrl-names = "default";
  675. pinctrl-0 = <0x17>;
  676. linux,phandle = <0x2a>;
  677. phandle = <0x2a>;
  678. };
  679.  
  680. pwm@1c21400 {
  681. compatible = "allwinner,sun8i-h3-pwm";
  682. reg = <0x1c21400 0x08>;
  683. clocks = <0x0f>;
  684. #pwm-cells = <0x03>;
  685. status = "disabled";
  686. pinctrl-names = "default";
  687. pinctrl-0 = <0x18>;
  688. };
  689.  
  690. i2s@1c22000 {
  691. #sound-dai-cells = <0x00>;
  692. compatible = "allwinner,sun8i-h3-i2s";
  693. reg = <0x1c22000 0x400>;
  694. interrupts = <0x00 0x0d 0x04>;
  695. clocks = <0x03 0x38 0x03 0x54>;
  696. clock-names = "apb\0mod";
  697. dmas = <0x14 0x03 0x14 0x03>;
  698. resets = <0x03 0x2b>;
  699. dma-names = "rx\0tx";
  700. status = "disabled";
  701. };
  702.  
  703. i2s@1c22400 {
  704. #sound-dai-cells = <0x00>;
  705. compatible = "allwinner,sun8i-h3-i2s";
  706. reg = <0x1c22400 0x400>;
  707. interrupts = <0x00 0x0e 0x04>;
  708. clocks = <0x03 0x39 0x03 0x55>;
  709. clock-names = "apb\0mod";
  710. dmas = <0x14 0x04 0x14 0x04>;
  711. resets = <0x03 0x2c>;
  712. dma-names = "rx\0tx";
  713. status = "disabled";
  714. };
  715.  
  716. codec@1c22c00 {
  717. #sound-dai-cells = <0x00>;
  718. compatible = "allwinner,sun8i-h3-codec";
  719. reg = <0x1c22c00 0x400>;
  720. interrupts = <0x00 0x1d 0x04>;
  721. clocks = <0x03 0x34 0x03 0x6d>;
  722. clock-names = "apb\0codec";
  723. resets = <0x03 0x28>;
  724. dmas = <0x14 0x0f 0x14 0x0f>;
  725. dma-names = "rx\0tx";
  726. allwinner,codec-analog-controls = <0x19>;
  727. status = "disabled";
  728. allwinner,audio-routing = "Line Out\0LINEOUT\0MIC1\0Mic\0Mic\0MBIAS";
  729. };
  730.  
  731. serial@1c28000 {
  732. compatible = "snps,dw-apb-uart";
  733. reg = <0x1c28000 0x400>;
  734. interrupts = <0x00 0x00 0x04>;
  735. reg-shift = <0x02>;
  736. reg-io-width = <0x04>;
  737. clocks = <0x03 0x3e>;
  738. resets = <0x03 0x31>;
  739. dmas = <0x14 0x06 0x14 0x06>;
  740. dma-names = "rx\0tx";
  741. status = "okay";
  742. pinctrl-names = "default";
  743. pinctrl-0 = <0x1a>;
  744. };
  745.  
  746. serial@1c28400 {
  747. compatible = "snps,dw-apb-uart";
  748. reg = <0x1c28400 0x400>;
  749. interrupts = <0x00 0x01 0x04>;
  750. reg-shift = <0x02>;
  751. reg-io-width = <0x04>;
  752. clocks = <0x03 0x3f>;
  753. resets = <0x03 0x32>;
  754. dmas = <0x14 0x07 0x14 0x07>;
  755. dma-names = "rx\0tx";
  756. status = "disabled";
  757. pinctrl-names = "default";
  758. pinctrl-0 = <0x1b>;
  759. };
  760.  
  761. serial@1c28800 {
  762. compatible = "snps,dw-apb-uart";
  763. reg = <0x1c28800 0x400>;
  764. interrupts = <0x00 0x02 0x04>;
  765. reg-shift = <0x02>;
  766. reg-io-width = <0x04>;
  767. clocks = <0x03 0x40>;
  768. resets = <0x03 0x33>;
  769. dmas = <0x14 0x08 0x14 0x08>;
  770. dma-names = "rx\0tx";
  771. status = "disabled";
  772. pinctrl-names = "default";
  773. pinctrl-0 = <0x1c>;
  774. };
  775.  
  776. serial@1c28c00 {
  777. compatible = "snps,dw-apb-uart";
  778. reg = <0x1c28c00 0x400>;
  779. interrupts = <0x00 0x03 0x04>;
  780. reg-shift = <0x02>;
  781. reg-io-width = <0x04>;
  782. clocks = <0x03 0x41>;
  783. resets = <0x03 0x34>;
  784. dmas = <0x14 0x09 0x14 0x09>;
  785. dma-names = "rx\0tx";
  786. status = "disabled";
  787. };
  788.  
  789. i2c@1c2ac00 {
  790. compatible = "allwinner,sun6i-a31-i2c";
  791. reg = <0x1c2ac00 0x400>;
  792. interrupts = <0x00 0x06 0x04>;
  793. clocks = <0x03 0x3b>;
  794. resets = <0x03 0x2e>;
  795. pinctrl-names = "default";
  796. pinctrl-0 = <0x1d>;
  797. status = "disabled";
  798. #address-cells = <0x01>;
  799. #size-cells = <0x00>;
  800. };
  801.  
  802. i2c@1c2b000 {
  803. compatible = "allwinner,sun6i-a31-i2c";
  804. reg = <0x1c2b000 0x400>;
  805. interrupts = <0x00 0x07 0x04>;
  806. clocks = <0x03 0x3c>;
  807. resets = <0x03 0x2f>;
  808. pinctrl-names = "default";
  809. pinctrl-0 = <0x1e>;
  810. status = "disabled";
  811. #address-cells = <0x01>;
  812. #size-cells = <0x00>;
  813. };
  814.  
  815. i2c@1c2b400 {
  816. compatible = "allwinner,sun6i-a31-i2c";
  817. reg = <0x1c2b400 0x400>;
  818. interrupts = <0x00 0x08 0x04>;
  819. clocks = <0x03 0x3d>;
  820. resets = <0x03 0x30>;
  821. pinctrl-names = "default";
  822. pinctrl-0 = <0x1f>;
  823. status = "disabled";
  824. #address-cells = <0x01>;
  825. #size-cells = <0x00>;
  826. };
  827.  
  828. interrupt-controller@1c81000 {
  829. compatible = "arm,gic-400";
  830. reg = <0x1c81000 0x1000 0x1c82000 0x2000 0x1c84000 0x2000 0x1c86000 0x2000>;
  831. interrupt-controller;
  832. #interrupt-cells = <0x03>;
  833. interrupts = <0x01 0x09 0xf04>;
  834. linux,phandle = <0x01>;
  835. phandle = <0x01>;
  836. };
  837.  
  838. hdmi@1ee0000 {
  839. compatible = "allwinner,sun8i-h3-dw-hdmi\0allwinner,sun8i-a83t-dw-hdmi";
  840. reg = <0x1ee0000 0x10000>;
  841. reg-io-width = <0x01>;
  842. interrupts = <0x00 0x58 0x04>;
  843. clocks = <0x03 0x2f 0x03 0x70 0x03 0x6f>;
  844. clock-names = "iahb\0isfr\0tmds";
  845. resets = <0x03 0x21>;
  846. reset-names = "ctrl";
  847. phys = <0x20>;
  848. phy-names = "hdmi-phy";
  849. status = "disabled";
  850.  
  851. ports {
  852. #address-cells = <0x01>;
  853. #size-cells = <0x00>;
  854.  
  855. port@0 {
  856. reg = <0x00>;
  857.  
  858. endpoint {
  859. remote-endpoint = <0x21>;
  860. linux,phandle = <0x07>;
  861. phandle = <0x07>;
  862. };
  863. };
  864.  
  865. port@1 {
  866. reg = <0x01>;
  867. };
  868. };
  869. };
  870.  
  871. hdmi-phy@1ef0000 {
  872. compatible = "allwinner,sun8i-h3-hdmi-phy";
  873. reg = <0x1ef0000 0x10000>;
  874. clocks = <0x03 0x2f 0x03 0x70 0x03 0x06>;
  875. clock-names = "bus\0mod\0pll-0";
  876. resets = <0x03 0x20>;
  877. reset-names = "phy";
  878. #phy-cells = <0x00>;
  879. linux,phandle = <0x20>;
  880. phandle = <0x20>;
  881. };
  882.  
  883. rtc@1f00000 {
  884. compatible = "allwinner,sun6i-a31-rtc";
  885. reg = <0x1f00000 0x54>;
  886. interrupts = <0x00 0x28 0x04 0x00 0x29 0x04>;
  887. };
  888.  
  889. clock@1f01400 {
  890. compatible = "allwinner,sun8i-h3-r-ccu";
  891. reg = <0x1f01400 0x100>;
  892. clocks = <0x0f 0x10 0x22 0x03 0x09>;
  893. clock-names = "hosc\0losc\0iosc\0pll-periph";
  894. #clock-cells = <0x01>;
  895. #reset-cells = <0x01>;
  896. linux,phandle = <0x23>;
  897. phandle = <0x23>;
  898. };
  899.  
  900. codec-analog@1f015c0 {
  901. compatible = "allwinner,sun8i-h3-codec-analog";
  902. reg = <0x1f015c0 0x04>;
  903. linux,phandle = <0x19>;
  904. phandle = <0x19>;
  905. };
  906.  
  907. ir@1f02000 {
  908. compatible = "allwinner,sun5i-a13-ir";
  909. clocks = <0x23 0x04 0x23 0x0b>;
  910. clock-names = "apb\0ir";
  911. resets = <0x23 0x00>;
  912. interrupts = <0x00 0x25 0x04>;
  913. reg = <0x1f02000 0x400>;
  914. status = "disabled";
  915. pinctrl-names = "default";
  916. pinctrl-0 = <0x24>;
  917. };
  918.  
  919. i2c@1f02400 {
  920. compatible = "allwinner,sun6i-a31-i2c";
  921. reg = <0x1f02400 0x400>;
  922. interrupts = <0x00 0x2c 0x04>;
  923. pinctrl-names = "default";
  924. pinctrl-0 = <0x25>;
  925. clocks = <0x23 0x09>;
  926. resets = <0x23 0x05>;
  927. status = "disabled";
  928. #address-cells = <0x01>;
  929. #size-cells = <0x00>;
  930. };
  931.  
  932. pinctrl@1f02c00 {
  933. compatible = "allwinner,sun8i-h3-r-pinctrl";
  934. reg = <0x1f02c00 0x400>;
  935. interrupts = <0x00 0x2d 0x04>;
  936. clocks = <0x23 0x03 0x0f 0x10>;
  937. clock-names = "apb\0hosc\0losc";
  938. gpio-controller;
  939. #gpio-cells = <0x03>;
  940. interrupt-controller;
  941. #interrupt-cells = <0x03>;
  942. linux,phandle = <0x28>;
  943. phandle = <0x28>;
  944.  
  945. ir {
  946. pins = "PL11";
  947. function = "s_cir_rx";
  948. linux,phandle = <0x24>;
  949. phandle = <0x24>;
  950. };
  951.  
  952. r-i2c {
  953. pins = "PL0\0PL1";
  954. function = "s_i2c";
  955. linux,phandle = <0x25>;
  956. phandle = <0x25>;
  957. };
  958. };
  959.  
  960. system-control@1c00000 {
  961. compatible = "allwinner,sun8i-h3-system-control";
  962. reg = <0x1c00000 0x1000>;
  963. #address-cells = <0x01>;
  964. #size-cells = <0x01>;
  965. ranges;
  966.  
  967. sram@1d00000 {
  968. compatible = "mmio-sram";
  969. reg = <0x1d00000 0x80000>;
  970. #address-cells = <0x01>;
  971. #size-cells = <0x01>;
  972. ranges = <0x00 0x1d00000 0x80000>;
  973.  
  974. sram-section@0 {
  975. compatible = "allwinner,sun8i-h3-sram-c1\0allwinner,sun4i-a10-sram-c1";
  976. reg = <0x00 0x80000>;
  977. };
  978. };
  979. };
  980.  
  981. gpu@1c40000 {
  982. compatible = "allwinner,sun8i-h3-mali\0arm,mali-400";
  983. reg = <0x1c40000 0x10000>;
  984. interrupts = <0x00 0x61 0x04 0x00 0x62 0x04 0x00 0x63 0x04 0x00 0x64 0x04 0x00 0x66 0x04 0x00 0x67 0x04 0x00 0x65 0x04>;
  985. interrupt-names = "gp\0gpmmu\0pp0\0ppmmu0\0pp1\0ppmmu1\0pmu";
  986. clocks = <0x03 0x31 0x03 0x72>;
  987. clock-names = "bus\0core";
  988. resets = <0x03 0x23>;
  989. assigned-clocks = <0x03 0x72>;
  990. assigned-clock-rates = <0x16e36000>;
  991. };
  992.  
  993. thermal-sensor@1c25000 {
  994. compatible = "allwinner,sun8i-h3-ths";
  995. reg = <0x1c25000 0x100>;
  996. interrupts = <0x00 0x1f 0x04>;
  997. clocks = <0x03 0x37 0x03 0x45>;
  998. clock-names = "bus\0mod";
  999. resets = <0x03 0x2a>;
  1000. #io-channel-cells = <0x00>;
  1001. #thermal-sensor-cells = <0x00>;
  1002. linux,phandle = <0x30>;
  1003. phandle = <0x30>;
  1004. };
  1005. };
  1006.  
  1007. opp_table0 {
  1008. compatible = "operating-points-v2";
  1009. opp-shared;
  1010. linux,phandle = <0x26>;
  1011. phandle = <0x26>;
  1012.  
  1013. opp@480000000 {
  1014. opp-hz = <0x00 0x1c9c3800>;
  1015. opp-microvolt = <0xfde80 0xfde80 0x13d620>;
  1016. clock-latency-ns = <0x3b9b0>;
  1017. };
  1018.  
  1019. opp@648000000 {
  1020. opp-hz = <0x00 0x269fb200>;
  1021. opp-microvolt = <0xfde80 0xfde80 0x13d620>;
  1022. clock-latency-ns = <0x3b9b0>;
  1023. };
  1024.  
  1025. opp@816000000 {
  1026. opp-hz = <0x00 0x30a32c00>;
  1027. opp-microvolt = <0x10c8e0 0x10c8e0 0x13d620>;
  1028. clock-latency-ns = <0x3b9b0>;
  1029. };
  1030.  
  1031. opp@1008000000 {
  1032. opp-hz = <0x00 0x3c14dc00>;
  1033. opp-microvolt = <0x124f80 0x124f80 0x13d620>;
  1034. clock-latency-ns = <0x3b9b0>;
  1035. };
  1036. };
  1037.  
  1038. cpus {
  1039. #address-cells = <0x01>;
  1040. #size-cells = <0x00>;
  1041.  
  1042. cpu@0 {
  1043. compatible = "arm,cortex-a7";
  1044. device_type = "cpu";
  1045. reg = <0x00>;
  1046. clocks = <0x03 0x0e>;
  1047. clock-names = "cpu";
  1048. operating-points-v2 = <0x26>;
  1049. #cooling-cells = <0x02>;
  1050. cpu-supply = <0x27>;
  1051. cooling-min-level = <0x00>;
  1052. cooling-max-level = <0x0f>;
  1053. linux,phandle = <0x32>;
  1054. phandle = <0x32>;
  1055. };
  1056.  
  1057. cpu@1 {
  1058. compatible = "arm,cortex-a7";
  1059. device_type = "cpu";
  1060. reg = <0x01>;
  1061. clocks = <0x03 0x0e>;
  1062. clock-names = "cpu";
  1063. operating-points-v2 = <0x26>;
  1064. #cooling-cells = <0x02>;
  1065. };
  1066.  
  1067. cpu@2 {
  1068. compatible = "arm,cortex-a7";
  1069. device_type = "cpu";
  1070. reg = <0x02>;
  1071. clocks = <0x03 0x0e>;
  1072. clock-names = "cpu";
  1073. operating-points-v2 = <0x26>;
  1074. #cooling-cells = <0x02>;
  1075. };
  1076.  
  1077. cpu@3 {
  1078. compatible = "arm,cortex-a7";
  1079. device_type = "cpu";
  1080. reg = <0x03>;
  1081. clocks = <0x03 0x0e>;
  1082. clock-names = "cpu";
  1083. operating-points-v2 = <0x26>;
  1084. #cooling-cells = <0x02>;
  1085. };
  1086. };
  1087.  
  1088. timer {
  1089. compatible = "arm,armv7-timer";
  1090. interrupts = <0x01 0x0d 0xf08 0x01 0x0e 0xf08 0x01 0x0b 0xf08 0x01 0x0a 0xf08>;
  1091. };
  1092.  
  1093. ahci-5v {
  1094. compatible = "regulator-fixed";
  1095. regulator-name = "ahci-5v";
  1096. regulator-min-microvolt = <0x4c4b40>;
  1097. regulator-max-microvolt = <0x4c4b40>;
  1098. regulator-boot-on;
  1099. enable-active-high;
  1100. gpio = <0x0a 0x01 0x08 0x00>;
  1101. status = "disabled";
  1102. };
  1103.  
  1104. usb0-vbus {
  1105. compatible = "regulator-fixed";
  1106. regulator-name = "usb0-vbus";
  1107. regulator-min-microvolt = <0x4c4b40>;
  1108. regulator-max-microvolt = <0x4c4b40>;
  1109. enable-active-high;
  1110. gpio = <0x0a 0x01 0x09 0x00>;
  1111. status = "disabled";
  1112. };
  1113.  
  1114. usb1-vbus {
  1115. compatible = "regulator-fixed";
  1116. regulator-name = "usb1-vbus";
  1117. regulator-min-microvolt = <0x4c4b40>;
  1118. regulator-max-microvolt = <0x4c4b40>;
  1119. regulator-boot-on;
  1120. enable-active-high;
  1121. gpio = <0x0a 0x07 0x06 0x00>;
  1122. status = "disabled";
  1123. };
  1124.  
  1125. usb2-vbus {
  1126. compatible = "regulator-fixed";
  1127. regulator-name = "usb2-vbus";
  1128. regulator-min-microvolt = <0x4c4b40>;
  1129. regulator-max-microvolt = <0x4c4b40>;
  1130. regulator-boot-on;
  1131. enable-active-high;
  1132. gpio = <0x0a 0x07 0x03 0x00>;
  1133. status = "disabled";
  1134. };
  1135.  
  1136. vcc3v0 {
  1137. compatible = "regulator-fixed";
  1138. regulator-name = "vcc3v0";
  1139. regulator-min-microvolt = <0x2dc6c0>;
  1140. regulator-max-microvolt = <0x2dc6c0>;
  1141. };
  1142.  
  1143. vcc3v3 {
  1144. compatible = "regulator-fixed";
  1145. regulator-name = "vcc3v3";
  1146. regulator-min-microvolt = <0x325aa0>;
  1147. regulator-max-microvolt = <0x325aa0>;
  1148. linux,phandle = <0x09>;
  1149. phandle = <0x09>;
  1150. };
  1151.  
  1152. vcc5v0 {
  1153. compatible = "regulator-fixed";
  1154. regulator-name = "vcc5v0";
  1155. regulator-min-microvolt = <0x4c4b40>;
  1156. regulator-max-microvolt = <0x4c4b40>;
  1157. };
  1158.  
  1159. aliases {
  1160. serial0 = "/soc/serial@1c28000";
  1161. ethernet0 = "/soc/ethernet@1c30000";
  1162. ethernet1 = "/soc/mmc@1c10000/sdio_wifi@1";
  1163. spi0 = "/soc/spi@1c68000";
  1164. i2c0 = "/soc/i2c@1c2ac00";
  1165. i2c1 = "/soc/i2c@1c2b000";
  1166. };
  1167.  
  1168. leds {
  1169. compatible = "gpio-leds";
  1170.  
  1171. pwr_led {
  1172. label = "orangepi:green:pwr";
  1173. gpios = <0x28 0x00 0x0a 0x00>;
  1174. default-state = "on";
  1175. };
  1176.  
  1177. status_led {
  1178. label = "orangepi:red:status";
  1179. gpios = <0x0a 0x00 0x11 0x00>;
  1180. };
  1181. };
  1182.  
  1183. w1 {
  1184. compatible = "w1-gpio";
  1185. gpios = <0x0a 0x00 0x06 0x00>;
  1186. pinctrl-names = "default";
  1187. pinctrl-0 = <0x29>;
  1188. status = "disabled";
  1189. };
  1190.  
  1191. vdd-cpux-regulator {
  1192. compatible = "regulator-gpio";
  1193. regulator-name = "vdd-cpux";
  1194. regulator-type = "voltage";
  1195. regulator-boot-on;
  1196. regulator-always-on;
  1197. regulator-min-microvolt = <0x10c8e0>;
  1198. regulator-max-microvolt = <0x13d620>;
  1199. regulator-ramp-delay = <0x32>;
  1200. gpios = <0x28 0x00 0x06 0x00>;
  1201. enable-active-high;
  1202. gpios-states = <0x01>;
  1203. states = <0x10c8e0 0x00 0x13d620 0x01>;
  1204. linux,phandle = <0x27>;
  1205. phandle = <0x27>;
  1206. };
  1207.  
  1208. wifi_pwrseq {
  1209. compatible = "mmc-pwrseq-simple";
  1210. reset-gpios = <0x28 0x00 0x07 0x01>;
  1211. post-power-on-delay-ms = <0xc8>;
  1212. linux,phandle = <0x0c>;
  1213. phandle = <0x0c>;
  1214. };
  1215.  
  1216. sound_spdif {
  1217. compatible = "simple-audio-card";
  1218. simple-audio-card,name = "On-board SPDIF";
  1219.  
  1220. simple-audio-card,cpu {
  1221. sound-dai = <0x2a>;
  1222. };
  1223.  
  1224. simple-audio-card,codec {
  1225. sound-dai = <0x2b>;
  1226. };
  1227. };
  1228.  
  1229. spdif-out {
  1230. #sound-dai-cells = <0x00>;
  1231. compatible = "linux,spdif-dit";
  1232. linux,phandle = <0x2b>;
  1233. phandle = <0x2b>;
  1234. };
  1235.  
  1236. gpio-keys-user {
  1237. compatible = "gpio-keys";
  1238. pinctrl-names = "default";
  1239. pinctrl-0 = <0x2c>;
  1240. status = "disabled";
  1241.  
  1242. g-keys_volup {
  1243. label = "GPIO KEY_VOLUMEUP";
  1244. linux,code = <0x73>;
  1245. gpios = <0x0a 0x00 0x10 0x01>;
  1246. };
  1247.  
  1248. g-keys_voldown {
  1249. label = "GPIO KEY_VOLUMEDOWN";
  1250. linux,code = <0x72>;
  1251. gpios = <0x0a 0x00 0x0f 0x01>;
  1252. };
  1253.  
  1254. g-keys_power {
  1255. label = "GPIO KEY_POWER";
  1256. linux,code = <0x74>;
  1257. gpios = <0x0a 0x00 0x0e 0x01>;
  1258. };
  1259.  
  1260. g-keys_chanup {
  1261. label = "GPIO KEY_CHANNELUP";
  1262. linux,code = <0x192>;
  1263. gpios = <0x0a 0x00 0x0d 0x01>;
  1264. };
  1265.  
  1266. g-keys_chandown {
  1267. label = "GPIO KEY_CHANNELDOWN";
  1268. linux,code = <0x193>;
  1269. gpios = <0x0a 0x00 0x02 0x01>;
  1270. };
  1271. };
  1272.  
  1273. rotary_button {
  1274. compatible = "gpio-keys";
  1275. pinctrl-names = "default";
  1276. pinctrl-0 = <0x2d>;
  1277. status = "disabled";
  1278.  
  1279. rotary_button_enter {
  1280. label = "ENTER";
  1281. linux,code = <0x63>;
  1282. gpios = <0x0a 0x00 0x00 0x01>;
  1283. };
  1284. };
  1285.  
  1286. rotary_axis {
  1287. compatible = "rotary-encoder";
  1288. pinctrl-names = "default";
  1289. pinctrl-0 = <0x2e>;
  1290. gpios = <0x0a 0x00 0x01 0x01 0x0a 0x00 0x03 0x01>;
  1291. linux,axis = <0x01>;
  1292. rotary-encoder,relative-axis;
  1293. rotary-encoder,half-period;
  1294. status = "disabled";
  1295. };
  1296.  
  1297. pps {
  1298. compatible = "pps-gpio";
  1299. pinctrl-names = "default";
  1300. pinctrl-0 = <0x2f>;
  1301. gpios = <0x0a 0x00 0x07 0x00>;
  1302. status = "disabled";
  1303. };
  1304.  
  1305. thermal-zones {
  1306.  
  1307. cpu_thermal {
  1308. polling-delay-passive = <0x14a>;
  1309. polling-delay = <0x3e8>;
  1310. thermal-sensors = <0x30 0x00>;
  1311.  
  1312. trips {
  1313.  
  1314. cpu-warm {
  1315. temperature = <0xfde8>;
  1316. hysteresis = <0x7d0>;
  1317. type = "passive";
  1318. linux,phandle = <0x31>;
  1319. phandle = <0x31>;
  1320. };
  1321.  
  1322. cpu-very-hot {
  1323. temperature = <0x15f90>;
  1324. hysteresis = <0x7d0>;
  1325. type = "critical";
  1326. };
  1327. };
  1328.  
  1329. cooling-maps {
  1330.  
  1331. cpu-warm-limit {
  1332. trip = <0x31>;
  1333. cooling-device = <0x32 0xffffffff 0xffffffff>;
  1334. };
  1335. };
  1336. };
  1337. };
  1338.  
  1339. reg-vcc-usb-ethernet {
  1340. compatible = "regulator-fixed";
  1341. regulator-min-microvolt = <0x4c4b40>;
  1342. regulator-max-microvolt = <0x4c4b40>;
  1343. regulator-name = "vcc-usb-ethernet";
  1344. enable-active-high;
  1345. gpio = <0x0a 0x00 0x14 0x00>;
  1346. linux,phandle = <0x0e>;
  1347. phandle = <0x0e>;
  1348. };
  1349. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement