sun50i-h616.dtsi 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. // Copyright (C) 2020 Arm Ltd.
  3. // based on the H6 dtsi, which is:
  4. // Copyright (C) 2017 Icenowy Zheng <[email protected]>
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. #include <dt-bindings/clock/sun50i-h616-ccu.h>
  7. #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
  8. #include <dt-bindings/clock/sun6i-rtc.h>
  9. #include <dt-bindings/reset/sun50i-h616-ccu.h>
  10. #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
  11. / {
  12. interrupt-parent = <&gic>;
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. cpus {
  16. #address-cells = <1>;
  17. #size-cells = <0>;
  18. cpu0: cpu@0 {
  19. compatible = "arm,cortex-a53";
  20. device_type = "cpu";
  21. reg = <0>;
  22. enable-method = "psci";
  23. clocks = <&ccu CLK_CPUX>;
  24. };
  25. cpu1: cpu@1 {
  26. compatible = "arm,cortex-a53";
  27. device_type = "cpu";
  28. reg = <1>;
  29. enable-method = "psci";
  30. clocks = <&ccu CLK_CPUX>;
  31. };
  32. cpu2: cpu@2 {
  33. compatible = "arm,cortex-a53";
  34. device_type = "cpu";
  35. reg = <2>;
  36. enable-method = "psci";
  37. clocks = <&ccu CLK_CPUX>;
  38. };
  39. cpu3: cpu@3 {
  40. compatible = "arm,cortex-a53";
  41. device_type = "cpu";
  42. reg = <3>;
  43. enable-method = "psci";
  44. clocks = <&ccu CLK_CPUX>;
  45. };
  46. };
  47. reserved-memory {
  48. #address-cells = <2>;
  49. #size-cells = <2>;
  50. ranges;
  51. /*
  52. * 256 KiB reserved for Trusted Firmware-A (BL31).
  53. * This is added by BL31 itself, but some bootloaders fail
  54. * to propagate this into the DTB handed to kernels.
  55. */
  56. secmon@40000000 {
  57. reg = <0x0 0x40000000 0x0 0x40000>;
  58. no-map;
  59. };
  60. };
  61. osc24M: osc24M-clk {
  62. #clock-cells = <0>;
  63. compatible = "fixed-clock";
  64. clock-frequency = <24000000>;
  65. clock-output-names = "osc24M";
  66. };
  67. pmu {
  68. compatible = "arm,cortex-a53-pmu";
  69. interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
  70. <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
  71. <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
  72. <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  73. interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  74. };
  75. psci {
  76. compatible = "arm,psci-0.2";
  77. method = "smc";
  78. };
  79. timer {
  80. compatible = "arm,armv8-timer";
  81. arm,no-tick-in-suspend;
  82. interrupts = <GIC_PPI 13
  83. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  84. <GIC_PPI 14
  85. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  86. <GIC_PPI 11
  87. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  88. <GIC_PPI 10
  89. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  90. };
  91. soc {
  92. compatible = "simple-bus";
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. ranges = <0x0 0x0 0x0 0x40000000>;
  96. syscon: syscon@3000000 {
  97. compatible = "allwinner,sun50i-h616-system-control";
  98. reg = <0x03000000 0x1000>;
  99. #address-cells = <1>;
  100. #size-cells = <1>;
  101. ranges;
  102. sram_c: sram@28000 {
  103. compatible = "mmio-sram";
  104. reg = <0x00028000 0x30000>;
  105. #address-cells = <1>;
  106. #size-cells = <1>;
  107. ranges = <0 0x00028000 0x30000>;
  108. };
  109. };
  110. ccu: clock@3001000 {
  111. compatible = "allwinner,sun50i-h616-ccu";
  112. reg = <0x03001000 0x1000>;
  113. clocks = <&osc24M>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>;
  114. clock-names = "hosc", "losc", "iosc";
  115. #clock-cells = <1>;
  116. #reset-cells = <1>;
  117. };
  118. watchdog: watchdog@30090a0 {
  119. compatible = "allwinner,sun50i-h616-wdt",
  120. "allwinner,sun6i-a31-wdt";
  121. reg = <0x030090a0 0x20>;
  122. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  123. clocks = <&osc24M>;
  124. };
  125. pio: pinctrl@300b000 {
  126. compatible = "allwinner,sun50i-h616-pinctrl";
  127. reg = <0x0300b000 0x400>;
  128. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
  129. <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
  130. <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  131. <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  132. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  133. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  134. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
  135. <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
  136. clocks = <&ccu CLK_APB1>, <&osc24M>, <&rtc CLK_OSC32K>;
  137. clock-names = "apb", "hosc", "losc";
  138. gpio-controller;
  139. #gpio-cells = <3>;
  140. interrupt-controller;
  141. #interrupt-cells = <3>;
  142. ext_rgmii_pins: rgmii-pins {
  143. pins = "PI0", "PI1", "PI2", "PI3", "PI4",
  144. "PI5", "PI7", "PI8", "PI9", "PI10",
  145. "PI11", "PI12", "PI13", "PI14", "PI15",
  146. "PI16";
  147. function = "emac0";
  148. drive-strength = <40>;
  149. };
  150. i2c0_pins: i2c0-pins {
  151. pins = "PI6", "PI7";
  152. function = "i2c0";
  153. };
  154. i2c3_ph_pins: i2c3-ph-pins {
  155. pins = "PH4", "PH5";
  156. function = "i2c3";
  157. };
  158. ir_rx_pin: ir-rx-pin {
  159. pins = "PH10";
  160. function = "ir_rx";
  161. };
  162. mmc0_pins: mmc0-pins {
  163. pins = "PF0", "PF1", "PF2", "PF3",
  164. "PF4", "PF5";
  165. function = "mmc0";
  166. drive-strength = <30>;
  167. bias-pull-up;
  168. };
  169. /omit-if-no-ref/
  170. mmc1_pins: mmc1-pins {
  171. pins = "PG0", "PG1", "PG2", "PG3",
  172. "PG4", "PG5";
  173. function = "mmc1";
  174. drive-strength = <30>;
  175. bias-pull-up;
  176. };
  177. mmc2_pins: mmc2-pins {
  178. pins = "PC0", "PC1", "PC5", "PC6",
  179. "PC8", "PC9", "PC10", "PC11",
  180. "PC13", "PC14", "PC15", "PC16";
  181. function = "mmc2";
  182. drive-strength = <30>;
  183. bias-pull-up;
  184. };
  185. /omit-if-no-ref/
  186. spi0_pins: spi0-pins {
  187. pins = "PC0", "PC2", "PC4";
  188. function = "spi0";
  189. };
  190. /omit-if-no-ref/
  191. spi0_cs0_pin: spi0-cs0-pin {
  192. pins = "PC3";
  193. function = "spi0";
  194. };
  195. /omit-if-no-ref/
  196. spi1_pins: spi1-pins {
  197. pins = "PH6", "PH7", "PH8";
  198. function = "spi1";
  199. };
  200. /omit-if-no-ref/
  201. spi1_cs0_pin: spi1-cs0-pin {
  202. pins = "PH5";
  203. function = "spi1";
  204. };
  205. uart0_ph_pins: uart0-ph-pins {
  206. pins = "PH0", "PH1";
  207. function = "uart0";
  208. };
  209. /omit-if-no-ref/
  210. uart1_pins: uart1-pins {
  211. pins = "PG6", "PG7";
  212. function = "uart1";
  213. };
  214. /omit-if-no-ref/
  215. uart1_rts_cts_pins: uart1-rts-cts-pins {
  216. pins = "PG8", "PG9";
  217. function = "uart1";
  218. };
  219. };
  220. gic: interrupt-controller@3021000 {
  221. compatible = "arm,gic-400";
  222. reg = <0x03021000 0x1000>,
  223. <0x03022000 0x2000>,
  224. <0x03024000 0x2000>,
  225. <0x03026000 0x2000>;
  226. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  227. interrupt-controller;
  228. #interrupt-cells = <3>;
  229. };
  230. mmc0: mmc@4020000 {
  231. compatible = "allwinner,sun50i-h616-mmc",
  232. "allwinner,sun50i-a100-mmc";
  233. reg = <0x04020000 0x1000>;
  234. clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>;
  235. clock-names = "ahb", "mmc";
  236. resets = <&ccu RST_BUS_MMC0>;
  237. reset-names = "ahb";
  238. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  239. pinctrl-names = "default";
  240. pinctrl-0 = <&mmc0_pins>;
  241. status = "disabled";
  242. max-frequency = <150000000>;
  243. cap-sd-highspeed;
  244. cap-mmc-highspeed;
  245. mmc-ddr-3_3v;
  246. cap-sdio-irq;
  247. #address-cells = <1>;
  248. #size-cells = <0>;
  249. };
  250. mmc1: mmc@4021000 {
  251. compatible = "allwinner,sun50i-h616-mmc",
  252. "allwinner,sun50i-a100-mmc";
  253. reg = <0x04021000 0x1000>;
  254. clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>;
  255. clock-names = "ahb", "mmc";
  256. resets = <&ccu RST_BUS_MMC1>;
  257. reset-names = "ahb";
  258. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  259. pinctrl-names = "default";
  260. pinctrl-0 = <&mmc1_pins>;
  261. status = "disabled";
  262. max-frequency = <150000000>;
  263. cap-sd-highspeed;
  264. cap-mmc-highspeed;
  265. mmc-ddr-3_3v;
  266. cap-sdio-irq;
  267. #address-cells = <1>;
  268. #size-cells = <0>;
  269. };
  270. mmc2: mmc@4022000 {
  271. compatible = "allwinner,sun50i-h616-emmc",
  272. "allwinner,sun50i-a100-emmc";
  273. reg = <0x04022000 0x1000>;
  274. clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>;
  275. clock-names = "ahb", "mmc";
  276. resets = <&ccu RST_BUS_MMC2>;
  277. reset-names = "ahb";
  278. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  279. pinctrl-names = "default";
  280. pinctrl-0 = <&mmc2_pins>;
  281. status = "disabled";
  282. max-frequency = <150000000>;
  283. cap-sd-highspeed;
  284. cap-mmc-highspeed;
  285. mmc-ddr-3_3v;
  286. cap-sdio-irq;
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. };
  290. uart0: serial@5000000 {
  291. compatible = "snps,dw-apb-uart";
  292. reg = <0x05000000 0x400>;
  293. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
  294. reg-shift = <2>;
  295. reg-io-width = <4>;
  296. clocks = <&ccu CLK_BUS_UART0>;
  297. resets = <&ccu RST_BUS_UART0>;
  298. status = "disabled";
  299. };
  300. uart1: serial@5000400 {
  301. compatible = "snps,dw-apb-uart";
  302. reg = <0x05000400 0x400>;
  303. interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  304. reg-shift = <2>;
  305. reg-io-width = <4>;
  306. clocks = <&ccu CLK_BUS_UART1>;
  307. resets = <&ccu RST_BUS_UART1>;
  308. status = "disabled";
  309. };
  310. uart2: serial@5000800 {
  311. compatible = "snps,dw-apb-uart";
  312. reg = <0x05000800 0x400>;
  313. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  314. reg-shift = <2>;
  315. reg-io-width = <4>;
  316. clocks = <&ccu CLK_BUS_UART2>;
  317. resets = <&ccu RST_BUS_UART2>;
  318. status = "disabled";
  319. };
  320. uart3: serial@5000c00 {
  321. compatible = "snps,dw-apb-uart";
  322. reg = <0x05000c00 0x400>;
  323. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  324. reg-shift = <2>;
  325. reg-io-width = <4>;
  326. clocks = <&ccu CLK_BUS_UART3>;
  327. resets = <&ccu RST_BUS_UART3>;
  328. status = "disabled";
  329. };
  330. uart4: serial@5001000 {
  331. compatible = "snps,dw-apb-uart";
  332. reg = <0x05001000 0x400>;
  333. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  334. reg-shift = <2>;
  335. reg-io-width = <4>;
  336. clocks = <&ccu CLK_BUS_UART4>;
  337. resets = <&ccu RST_BUS_UART4>;
  338. status = "disabled";
  339. };
  340. uart5: serial@5001400 {
  341. compatible = "snps,dw-apb-uart";
  342. reg = <0x05001400 0x400>;
  343. interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
  344. reg-shift = <2>;
  345. reg-io-width = <4>;
  346. clocks = <&ccu CLK_BUS_UART5>;
  347. resets = <&ccu RST_BUS_UART5>;
  348. status = "disabled";
  349. };
  350. i2c0: i2c@5002000 {
  351. compatible = "allwinner,sun50i-h616-i2c",
  352. "allwinner,sun8i-v536-i2c",
  353. "allwinner,sun6i-a31-i2c";
  354. reg = <0x05002000 0x400>;
  355. interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  356. clocks = <&ccu CLK_BUS_I2C0>;
  357. resets = <&ccu RST_BUS_I2C0>;
  358. pinctrl-names = "default";
  359. pinctrl-0 = <&i2c0_pins>;
  360. status = "disabled";
  361. #address-cells = <1>;
  362. #size-cells = <0>;
  363. };
  364. i2c1: i2c@5002400 {
  365. compatible = "allwinner,sun50i-h616-i2c",
  366. "allwinner,sun8i-v536-i2c",
  367. "allwinner,sun6i-a31-i2c";
  368. reg = <0x05002400 0x400>;
  369. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
  370. clocks = <&ccu CLK_BUS_I2C1>;
  371. resets = <&ccu RST_BUS_I2C1>;
  372. status = "disabled";
  373. #address-cells = <1>;
  374. #size-cells = <0>;
  375. };
  376. i2c2: i2c@5002800 {
  377. compatible = "allwinner,sun50i-h616-i2c",
  378. "allwinner,sun8i-v536-i2c",
  379. "allwinner,sun6i-a31-i2c";
  380. reg = <0x05002800 0x400>;
  381. interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
  382. clocks = <&ccu CLK_BUS_I2C2>;
  383. resets = <&ccu RST_BUS_I2C2>;
  384. status = "disabled";
  385. #address-cells = <1>;
  386. #size-cells = <0>;
  387. };
  388. i2c3: i2c@5002c00 {
  389. compatible = "allwinner,sun50i-h616-i2c",
  390. "allwinner,sun8i-v536-i2c",
  391. "allwinner,sun6i-a31-i2c";
  392. reg = <0x05002c00 0x400>;
  393. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  394. clocks = <&ccu CLK_BUS_I2C3>;
  395. resets = <&ccu RST_BUS_I2C3>;
  396. status = "disabled";
  397. #address-cells = <1>;
  398. #size-cells = <0>;
  399. };
  400. i2c4: i2c@5003000 {
  401. compatible = "allwinner,sun50i-h616-i2c",
  402. "allwinner,sun8i-v536-i2c",
  403. "allwinner,sun6i-a31-i2c";
  404. reg = <0x05003000 0x400>;
  405. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  406. clocks = <&ccu CLK_BUS_I2C4>;
  407. resets = <&ccu RST_BUS_I2C4>;
  408. status = "disabled";
  409. #address-cells = <1>;
  410. #size-cells = <0>;
  411. };
  412. spi0: spi@5010000 {
  413. compatible = "allwinner,sun50i-h616-spi",
  414. "allwinner,sun8i-h3-spi";
  415. reg = <0x05010000 0x1000>;
  416. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  417. clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
  418. clock-names = "ahb", "mod";
  419. resets = <&ccu RST_BUS_SPI0>;
  420. status = "disabled";
  421. #address-cells = <1>;
  422. #size-cells = <0>;
  423. };
  424. spi1: spi@5011000 {
  425. compatible = "allwinner,sun50i-h616-spi",
  426. "allwinner,sun8i-h3-spi";
  427. reg = <0x05011000 0x1000>;
  428. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  429. clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
  430. clock-names = "ahb", "mod";
  431. resets = <&ccu RST_BUS_SPI1>;
  432. status = "disabled";
  433. #address-cells = <1>;
  434. #size-cells = <0>;
  435. };
  436. emac0: ethernet@5020000 {
  437. compatible = "allwinner,sun50i-h616-emac0",
  438. "allwinner,sun50i-a64-emac";
  439. reg = <0x05020000 0x10000>;
  440. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  441. interrupt-names = "macirq";
  442. clocks = <&ccu CLK_BUS_EMAC0>;
  443. clock-names = "stmmaceth";
  444. resets = <&ccu RST_BUS_EMAC0>;
  445. reset-names = "stmmaceth";
  446. syscon = <&syscon>;
  447. status = "disabled";
  448. mdio0: mdio {
  449. compatible = "snps,dwmac-mdio";
  450. #address-cells = <1>;
  451. #size-cells = <0>;
  452. };
  453. };
  454. rtc: rtc@7000000 {
  455. compatible = "allwinner,sun50i-h616-rtc";
  456. reg = <0x07000000 0x400>;
  457. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  458. clocks = <&r_ccu CLK_R_APB1_RTC>, <&osc24M>,
  459. <&ccu CLK_PLL_SYSTEM_32K>;
  460. clock-names = "bus", "hosc",
  461. "pll-32k";
  462. #clock-cells = <1>;
  463. };
  464. r_ccu: clock@7010000 {
  465. compatible = "allwinner,sun50i-h616-r-ccu";
  466. reg = <0x07010000 0x210>;
  467. clocks = <&osc24M>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>,
  468. <&ccu CLK_PLL_PERIPH0>;
  469. clock-names = "hosc", "losc", "iosc", "pll-periph";
  470. #clock-cells = <1>;
  471. #reset-cells = <1>;
  472. };
  473. r_pio: pinctrl@7022000 {
  474. compatible = "allwinner,sun50i-h616-r-pinctrl";
  475. reg = <0x07022000 0x400>;
  476. clocks = <&r_ccu CLK_R_APB1>, <&osc24M>,
  477. <&rtc CLK_OSC32K>;
  478. clock-names = "apb", "hosc", "losc";
  479. gpio-controller;
  480. #gpio-cells = <3>;
  481. /omit-if-no-ref/
  482. r_i2c_pins: r-i2c-pins {
  483. pins = "PL0", "PL1";
  484. function = "s_i2c";
  485. };
  486. r_rsb_pins: r-rsb-pins {
  487. pins = "PL0", "PL1";
  488. function = "s_rsb";
  489. };
  490. };
  491. ir: ir@7040000 {
  492. compatible = "allwinner,sun50i-h616-ir",
  493. "allwinner,sun6i-a31-ir";
  494. reg = <0x07040000 0x400>;
  495. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  496. clocks = <&r_ccu CLK_R_APB1_IR>,
  497. <&r_ccu CLK_IR>;
  498. clock-names = "apb", "ir";
  499. resets = <&r_ccu RST_R_APB1_IR>;
  500. pinctrl-names = "default";
  501. pinctrl-0 = <&ir_rx_pin>;
  502. status = "disabled";
  503. };
  504. r_i2c: i2c@7081400 {
  505. compatible = "allwinner,sun50i-h616-i2c",
  506. "allwinner,sun8i-v536-i2c",
  507. "allwinner,sun6i-a31-i2c";
  508. reg = <0x07081400 0x400>;
  509. interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
  510. clocks = <&r_ccu CLK_R_APB2_I2C>;
  511. resets = <&r_ccu RST_R_APB2_I2C>;
  512. status = "disabled";
  513. #address-cells = <1>;
  514. #size-cells = <0>;
  515. };
  516. r_rsb: rsb@7083000 {
  517. compatible = "allwinner,sun50i-h616-rsb",
  518. "allwinner,sun8i-a23-rsb";
  519. reg = <0x07083000 0x400>;
  520. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  521. clocks = <&r_ccu CLK_R_APB2_RSB>;
  522. clock-frequency = <3000000>;
  523. resets = <&r_ccu RST_R_APB2_RSB>;
  524. pinctrl-names = "default";
  525. pinctrl-0 = <&r_rsb_pins>;
  526. status = "disabled";
  527. #address-cells = <1>;
  528. #size-cells = <0>;
  529. };
  530. };
  531. };