rk3308.dtsi 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
  4. *
  5. */
  6. #include <dt-bindings/clock/rk3308-cru.h>
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include <dt-bindings/pinctrl/rockchip.h>
  11. #include <dt-bindings/soc/rockchip,boot-mode.h>
  12. #include <dt-bindings/thermal/thermal.h>
  13. / {
  14. compatible = "rockchip,rk3308";
  15. interrupt-parent = <&gic>;
  16. #address-cells = <2>;
  17. #size-cells = <2>;
  18. aliases {
  19. i2c0 = &i2c0;
  20. i2c1 = &i2c1;
  21. i2c2 = &i2c2;
  22. i2c3 = &i2c3;
  23. serial0 = &uart0;
  24. serial1 = &uart1;
  25. serial2 = &uart2;
  26. serial3 = &uart3;
  27. serial4 = &uart4;
  28. spi0 = &spi0;
  29. spi1 = &spi1;
  30. spi2 = &spi2;
  31. };
  32. cpus {
  33. #address-cells = <2>;
  34. #size-cells = <0>;
  35. cpu0: cpu@0 {
  36. device_type = "cpu";
  37. compatible = "arm,cortex-a35";
  38. reg = <0x0 0x0>;
  39. enable-method = "psci";
  40. clocks = <&cru ARMCLK>;
  41. #cooling-cells = <2>;
  42. dynamic-power-coefficient = <90>;
  43. operating-points-v2 = <&cpu0_opp_table>;
  44. cpu-idle-states = <&CPU_SLEEP>;
  45. next-level-cache = <&l2>;
  46. };
  47. cpu1: cpu@1 {
  48. device_type = "cpu";
  49. compatible = "arm,cortex-a35";
  50. reg = <0x0 0x1>;
  51. enable-method = "psci";
  52. operating-points-v2 = <&cpu0_opp_table>;
  53. cpu-idle-states = <&CPU_SLEEP>;
  54. next-level-cache = <&l2>;
  55. };
  56. cpu2: cpu@2 {
  57. device_type = "cpu";
  58. compatible = "arm,cortex-a35";
  59. reg = <0x0 0x2>;
  60. enable-method = "psci";
  61. operating-points-v2 = <&cpu0_opp_table>;
  62. cpu-idle-states = <&CPU_SLEEP>;
  63. next-level-cache = <&l2>;
  64. };
  65. cpu3: cpu@3 {
  66. device_type = "cpu";
  67. compatible = "arm,cortex-a35";
  68. reg = <0x0 0x3>;
  69. enable-method = "psci";
  70. operating-points-v2 = <&cpu0_opp_table>;
  71. cpu-idle-states = <&CPU_SLEEP>;
  72. next-level-cache = <&l2>;
  73. };
  74. idle-states {
  75. entry-method = "psci";
  76. CPU_SLEEP: cpu-sleep {
  77. compatible = "arm,idle-state";
  78. local-timer-stop;
  79. arm,psci-suspend-param = <0x0010000>;
  80. entry-latency-us = <120>;
  81. exit-latency-us = <250>;
  82. min-residency-us = <900>;
  83. };
  84. };
  85. l2: l2-cache {
  86. compatible = "cache";
  87. };
  88. };
  89. cpu0_opp_table: opp-table-0 {
  90. compatible = "operating-points-v2";
  91. opp-shared;
  92. opp-408000000 {
  93. opp-hz = /bits/ 64 <408000000>;
  94. opp-microvolt = <950000 950000 1340000>;
  95. clock-latency-ns = <40000>;
  96. opp-suspend;
  97. };
  98. opp-600000000 {
  99. opp-hz = /bits/ 64 <600000000>;
  100. opp-microvolt = <950000 950000 1340000>;
  101. clock-latency-ns = <40000>;
  102. };
  103. opp-816000000 {
  104. opp-hz = /bits/ 64 <816000000>;
  105. opp-microvolt = <1025000 1025000 1340000>;
  106. clock-latency-ns = <40000>;
  107. };
  108. opp-1008000000 {
  109. opp-hz = /bits/ 64 <1008000000>;
  110. opp-microvolt = <1125000 1125000 1340000>;
  111. clock-latency-ns = <40000>;
  112. };
  113. };
  114. arm-pmu {
  115. compatible = "arm,cortex-a35-pmu";
  116. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
  117. <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
  118. <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
  119. <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  120. interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
  121. };
  122. mac_clkin: external-mac-clock {
  123. compatible = "fixed-clock";
  124. clock-frequency = <50000000>;
  125. clock-output-names = "mac_clkin";
  126. #clock-cells = <0>;
  127. };
  128. psci {
  129. compatible = "arm,psci-1.0";
  130. method = "smc";
  131. };
  132. timer {
  133. compatible = "arm,armv8-timer";
  134. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  135. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  136. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  137. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  138. };
  139. xin24m: xin24m {
  140. compatible = "fixed-clock";
  141. #clock-cells = <0>;
  142. clock-frequency = <24000000>;
  143. clock-output-names = "xin24m";
  144. };
  145. grf: grf@ff000000 {
  146. compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
  147. reg = <0x0 0xff000000 0x0 0x08000>;
  148. reboot-mode {
  149. compatible = "syscon-reboot-mode";
  150. offset = <0x500>;
  151. mode-bootloader = <BOOT_BL_DOWNLOAD>;
  152. mode-loader = <BOOT_BL_DOWNLOAD>;
  153. mode-normal = <BOOT_NORMAL>;
  154. mode-recovery = <BOOT_RECOVERY>;
  155. mode-fastboot = <BOOT_FASTBOOT>;
  156. };
  157. };
  158. usb2phy_grf: syscon@ff008000 {
  159. compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
  160. reg = <0x0 0xff008000 0x0 0x4000>;
  161. #address-cells = <1>;
  162. #size-cells = <1>;
  163. u2phy: usb2phy@100 {
  164. compatible = "rockchip,rk3308-usb2phy";
  165. reg = <0x100 0x10>;
  166. assigned-clocks = <&cru USB480M>;
  167. assigned-clock-parents = <&u2phy>;
  168. clocks = <&cru SCLK_USBPHY_REF>;
  169. clock-names = "phyclk";
  170. clock-output-names = "usb480m_phy";
  171. #clock-cells = <0>;
  172. status = "disabled";
  173. u2phy_otg: otg-port {
  174. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  175. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
  176. <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  177. interrupt-names = "otg-bvalid", "otg-id",
  178. "linestate";
  179. #phy-cells = <0>;
  180. status = "disabled";
  181. };
  182. u2phy_host: host-port {
  183. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  184. interrupt-names = "linestate";
  185. #phy-cells = <0>;
  186. status = "disabled";
  187. };
  188. };
  189. };
  190. detect_grf: syscon@ff00b000 {
  191. compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
  192. reg = <0x0 0xff00b000 0x0 0x1000>;
  193. #address-cells = <1>;
  194. #size-cells = <1>;
  195. };
  196. core_grf: syscon@ff00c000 {
  197. compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
  198. reg = <0x0 0xff00c000 0x0 0x1000>;
  199. #address-cells = <1>;
  200. #size-cells = <1>;
  201. };
  202. i2c0: i2c@ff040000 {
  203. compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
  204. reg = <0x0 0xff040000 0x0 0x1000>;
  205. clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
  206. clock-names = "i2c", "pclk";
  207. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  208. pinctrl-names = "default";
  209. pinctrl-0 = <&i2c0_xfer>;
  210. #address-cells = <1>;
  211. #size-cells = <0>;
  212. status = "disabled";
  213. };
  214. i2c1: i2c@ff050000 {
  215. compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
  216. reg = <0x0 0xff050000 0x0 0x1000>;
  217. clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
  218. clock-names = "i2c", "pclk";
  219. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  220. pinctrl-names = "default";
  221. pinctrl-0 = <&i2c1_xfer>;
  222. #address-cells = <1>;
  223. #size-cells = <0>;
  224. status = "disabled";
  225. };
  226. i2c2: i2c@ff060000 {
  227. compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
  228. reg = <0x0 0xff060000 0x0 0x1000>;
  229. clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
  230. clock-names = "i2c", "pclk";
  231. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  232. pinctrl-names = "default";
  233. pinctrl-0 = <&i2c2_xfer>;
  234. #address-cells = <1>;
  235. #size-cells = <0>;
  236. status = "disabled";
  237. };
  238. i2c3: i2c@ff070000 {
  239. compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
  240. reg = <0x0 0xff070000 0x0 0x1000>;
  241. clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
  242. clock-names = "i2c", "pclk";
  243. interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  244. pinctrl-names = "default";
  245. pinctrl-0 = <&i2c3m0_xfer>;
  246. #address-cells = <1>;
  247. #size-cells = <0>;
  248. status = "disabled";
  249. };
  250. wdt: watchdog@ff080000 {
  251. compatible = "rockchip,rk3308-wdt", "snps,dw-wdt";
  252. reg = <0x0 0xff080000 0x0 0x100>;
  253. clocks = <&cru PCLK_WDT>;
  254. interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  255. status = "disabled";
  256. };
  257. uart0: serial@ff0a0000 {
  258. compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
  259. reg = <0x0 0xff0a0000 0x0 0x100>;
  260. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  261. clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
  262. clock-names = "baudclk", "apb_pclk";
  263. reg-shift = <2>;
  264. reg-io-width = <4>;
  265. pinctrl-names = "default";
  266. pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
  267. status = "disabled";
  268. };
  269. uart1: serial@ff0b0000 {
  270. compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
  271. reg = <0x0 0xff0b0000 0x0 0x100>;
  272. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
  273. clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
  274. clock-names = "baudclk", "apb_pclk";
  275. reg-shift = <2>;
  276. reg-io-width = <4>;
  277. pinctrl-names = "default";
  278. pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
  279. status = "disabled";
  280. };
  281. uart2: serial@ff0c0000 {
  282. compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
  283. reg = <0x0 0xff0c0000 0x0 0x100>;
  284. interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  285. clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
  286. clock-names = "baudclk", "apb_pclk";
  287. reg-shift = <2>;
  288. reg-io-width = <4>;
  289. pinctrl-names = "default";
  290. pinctrl-0 = <&uart2m0_xfer>;
  291. status = "disabled";
  292. };
  293. uart3: serial@ff0d0000 {
  294. compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
  295. reg = <0x0 0xff0d0000 0x0 0x100>;
  296. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  297. clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
  298. clock-names = "baudclk", "apb_pclk";
  299. reg-shift = <2>;
  300. reg-io-width = <4>;
  301. pinctrl-names = "default";
  302. pinctrl-0 = <&uart3_xfer>;
  303. status = "disabled";
  304. };
  305. uart4: serial@ff0e0000 {
  306. compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
  307. reg = <0x0 0xff0e0000 0x0 0x100>;
  308. interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
  309. clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
  310. clock-names = "baudclk", "apb_pclk";
  311. reg-shift = <2>;
  312. reg-io-width = <4>;
  313. pinctrl-names = "default";
  314. pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
  315. status = "disabled";
  316. };
  317. spi0: spi@ff120000 {
  318. compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
  319. reg = <0x0 0xff120000 0x0 0x1000>;
  320. interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  321. #address-cells = <1>;
  322. #size-cells = <0>;
  323. clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
  324. clock-names = "spiclk", "apb_pclk";
  325. dmas = <&dmac0 0>, <&dmac0 1>;
  326. dma-names = "tx", "rx";
  327. pinctrl-names = "default";
  328. pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_miso &spi0_mosi>;
  329. status = "disabled";
  330. };
  331. spi1: spi@ff130000 {
  332. compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
  333. reg = <0x0 0xff130000 0x0 0x1000>;
  334. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  335. #address-cells = <1>;
  336. #size-cells = <0>;
  337. clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
  338. clock-names = "spiclk", "apb_pclk";
  339. dmas = <&dmac0 2>, <&dmac0 3>;
  340. dma-names = "tx", "rx";
  341. pinctrl-names = "default";
  342. pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_miso &spi1_mosi>;
  343. status = "disabled";
  344. };
  345. spi2: spi@ff140000 {
  346. compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
  347. reg = <0x0 0xff140000 0x0 0x1000>;
  348. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  349. #address-cells = <1>;
  350. #size-cells = <0>;
  351. clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
  352. clock-names = "spiclk", "apb_pclk";
  353. dmas = <&dmac1 16>, <&dmac1 17>;
  354. dma-names = "tx", "rx";
  355. pinctrl-names = "default";
  356. pinctrl-0 = <&spi2_clk &spi2_csn0 &spi2_miso &spi2_mosi>;
  357. status = "disabled";
  358. };
  359. pwm8: pwm@ff160000 {
  360. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  361. reg = <0x0 0xff160000 0x0 0x10>;
  362. clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
  363. clock-names = "pwm", "pclk";
  364. pinctrl-names = "default";
  365. pinctrl-0 = <&pwm8_pin>;
  366. #pwm-cells = <3>;
  367. status = "disabled";
  368. };
  369. pwm9: pwm@ff160010 {
  370. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  371. reg = <0x0 0xff160010 0x0 0x10>;
  372. clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
  373. clock-names = "pwm", "pclk";
  374. pinctrl-names = "default";
  375. pinctrl-0 = <&pwm9_pin>;
  376. #pwm-cells = <3>;
  377. status = "disabled";
  378. };
  379. pwm10: pwm@ff160020 {
  380. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  381. reg = <0x0 0xff160020 0x0 0x10>;
  382. clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
  383. clock-names = "pwm", "pclk";
  384. pinctrl-names = "default";
  385. pinctrl-0 = <&pwm10_pin>;
  386. #pwm-cells = <3>;
  387. status = "disabled";
  388. };
  389. pwm11: pwm@ff160030 {
  390. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  391. reg = <0x0 0xff160030 0x0 0x10>;
  392. clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
  393. clock-names = "pwm", "pclk";
  394. pinctrl-names = "default";
  395. pinctrl-0 = <&pwm11_pin>;
  396. #pwm-cells = <3>;
  397. status = "disabled";
  398. };
  399. pwm4: pwm@ff170000 {
  400. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  401. reg = <0x0 0xff170000 0x0 0x10>;
  402. clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
  403. clock-names = "pwm", "pclk";
  404. pinctrl-names = "default";
  405. pinctrl-0 = <&pwm4_pin>;
  406. #pwm-cells = <3>;
  407. status = "disabled";
  408. };
  409. pwm5: pwm@ff170010 {
  410. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  411. reg = <0x0 0xff170010 0x0 0x10>;
  412. clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
  413. clock-names = "pwm", "pclk";
  414. pinctrl-names = "default";
  415. pinctrl-0 = <&pwm5_pin>;
  416. #pwm-cells = <3>;
  417. status = "disabled";
  418. };
  419. pwm6: pwm@ff170020 {
  420. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  421. reg = <0x0 0xff170020 0x0 0x10>;
  422. clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
  423. clock-names = "pwm", "pclk";
  424. pinctrl-names = "default";
  425. pinctrl-0 = <&pwm6_pin>;
  426. #pwm-cells = <3>;
  427. status = "disabled";
  428. };
  429. pwm7: pwm@ff170030 {
  430. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  431. reg = <0x0 0xff170030 0x0 0x10>;
  432. clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
  433. clock-names = "pwm", "pclk";
  434. pinctrl-names = "default";
  435. pinctrl-0 = <&pwm7_pin>;
  436. #pwm-cells = <3>;
  437. status = "disabled";
  438. };
  439. pwm0: pwm@ff180000 {
  440. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  441. reg = <0x0 0xff180000 0x0 0x10>;
  442. clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
  443. clock-names = "pwm", "pclk";
  444. pinctrl-names = "default";
  445. pinctrl-0 = <&pwm0_pin>;
  446. #pwm-cells = <3>;
  447. status = "disabled";
  448. };
  449. pwm1: pwm@ff180010 {
  450. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  451. reg = <0x0 0xff180010 0x0 0x10>;
  452. clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
  453. clock-names = "pwm", "pclk";
  454. pinctrl-names = "default";
  455. pinctrl-0 = <&pwm1_pin>;
  456. #pwm-cells = <3>;
  457. status = "disabled";
  458. };
  459. pwm2: pwm@ff180020 {
  460. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  461. reg = <0x0 0xff180020 0x0 0x10>;
  462. clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
  463. clock-names = "pwm", "pclk";
  464. pinctrl-names = "default";
  465. pinctrl-0 = <&pwm2_pin>;
  466. #pwm-cells = <3>;
  467. status = "disabled";
  468. };
  469. pwm3: pwm@ff180030 {
  470. compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
  471. reg = <0x0 0xff180030 0x0 0x10>;
  472. clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
  473. clock-names = "pwm", "pclk";
  474. pinctrl-names = "default";
  475. pinctrl-0 = <&pwm3_pin>;
  476. #pwm-cells = <3>;
  477. status = "disabled";
  478. };
  479. rktimer: rktimer@ff1a0000 {
  480. compatible = "rockchip,rk3288-timer";
  481. reg = <0x0 0xff1a0000 0x0 0x20>;
  482. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  483. clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
  484. clock-names = "pclk", "timer";
  485. };
  486. saradc: saradc@ff1e0000 {
  487. compatible = "rockchip,rk3308-saradc", "rockchip,rk3399-saradc";
  488. reg = <0x0 0xff1e0000 0x0 0x100>;
  489. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  490. clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
  491. clock-names = "saradc", "apb_pclk";
  492. #io-channel-cells = <1>;
  493. resets = <&cru SRST_SARADC_P>;
  494. reset-names = "saradc-apb";
  495. status = "disabled";
  496. };
  497. dmac0: dma-controller@ff2c0000 {
  498. compatible = "arm,pl330", "arm,primecell";
  499. reg = <0x0 0xff2c0000 0x0 0x4000>;
  500. interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  501. <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  502. arm,pl330-periph-burst;
  503. clocks = <&cru ACLK_DMAC0>;
  504. clock-names = "apb_pclk";
  505. #dma-cells = <1>;
  506. };
  507. dmac1: dma-controller@ff2d0000 {
  508. compatible = "arm,pl330", "arm,primecell";
  509. reg = <0x0 0xff2d0000 0x0 0x4000>;
  510. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  511. <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  512. arm,pl330-periph-burst;
  513. clocks = <&cru ACLK_DMAC1>;
  514. clock-names = "apb_pclk";
  515. #dma-cells = <1>;
  516. };
  517. i2s_2ch_0: i2s@ff350000 {
  518. compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
  519. reg = <0x0 0xff350000 0x0 0x1000>;
  520. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  521. clocks = <&cru SCLK_I2S0_2CH>, <&cru HCLK_I2S0_2CH>;
  522. clock-names = "i2s_clk", "i2s_hclk";
  523. dmas = <&dmac1 8>, <&dmac1 9>;
  524. dma-names = "tx", "rx";
  525. resets = <&cru SRST_I2S0_2CH_M>, <&cru SRST_I2S0_2CH_H>;
  526. reset-names = "reset-m", "reset-h";
  527. pinctrl-names = "default";
  528. pinctrl-0 = <&i2s_2ch_0_sclk
  529. &i2s_2ch_0_lrck
  530. &i2s_2ch_0_sdi
  531. &i2s_2ch_0_sdo>;
  532. status = "disabled";
  533. };
  534. i2s_2ch_1: i2s@ff360000 {
  535. compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
  536. reg = <0x0 0xff360000 0x0 0x1000>;
  537. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  538. clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>;
  539. clock-names = "i2s_clk", "i2s_hclk";
  540. dmas = <&dmac1 11>;
  541. dma-names = "rx";
  542. resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>;
  543. reset-names = "reset-m", "reset-h";
  544. status = "disabled";
  545. };
  546. spdif_tx: spdif-tx@ff3a0000 {
  547. compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
  548. reg = <0x0 0xff3a0000 0x0 0x1000>;
  549. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  550. clocks = <&cru SCLK_SPDIF_TX>, <&cru HCLK_SPDIFTX>;
  551. clock-names = "mclk", "hclk";
  552. dmas = <&dmac1 13>;
  553. dma-names = "tx";
  554. pinctrl-names = "default";
  555. pinctrl-0 = <&spdif_out>;
  556. status = "disabled";
  557. };
  558. usb20_otg: usb@ff400000 {
  559. compatible = "rockchip,rk3308-usb", "rockchip,rk3066-usb",
  560. "snps,dwc2";
  561. reg = <0x0 0xff400000 0x0 0x40000>;
  562. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  563. clocks = <&cru HCLK_OTG>;
  564. clock-names = "otg";
  565. dr_mode = "otg";
  566. g-np-tx-fifo-size = <16>;
  567. g-rx-fifo-size = <280>;
  568. g-tx-fifo-size = <256 128 128 64 32 16>;
  569. phys = <&u2phy_otg>;
  570. phy-names = "usb2-phy";
  571. status = "disabled";
  572. };
  573. usb_host_ehci: usb@ff440000 {
  574. compatible = "generic-ehci";
  575. reg = <0x0 0xff440000 0x0 0x10000>;
  576. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  577. clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
  578. phys = <&u2phy_host>;
  579. phy-names = "usb";
  580. status = "disabled";
  581. };
  582. usb_host_ohci: usb@ff450000 {
  583. compatible = "generic-ohci";
  584. reg = <0x0 0xff450000 0x0 0x10000>;
  585. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  586. clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
  587. phys = <&u2phy_host>;
  588. phy-names = "usb";
  589. status = "disabled";
  590. };
  591. sdmmc: mmc@ff480000 {
  592. compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
  593. reg = <0x0 0xff480000 0x0 0x4000>;
  594. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  595. bus-width = <4>;
  596. clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
  597. <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
  598. clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  599. fifo-depth = <0x100>;
  600. max-frequency = <150000000>;
  601. pinctrl-names = "default";
  602. pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
  603. status = "disabled";
  604. };
  605. emmc: mmc@ff490000 {
  606. compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
  607. reg = <0x0 0xff490000 0x0 0x4000>;
  608. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  609. bus-width = <8>;
  610. clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
  611. <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
  612. clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  613. fifo-depth = <0x100>;
  614. max-frequency = <150000000>;
  615. status = "disabled";
  616. };
  617. sdio: mmc@ff4a0000 {
  618. compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
  619. reg = <0x0 0xff4a0000 0x0 0x4000>;
  620. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  621. bus-width = <4>;
  622. clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
  623. <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
  624. clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
  625. fifo-depth = <0x100>;
  626. max-frequency = <150000000>;
  627. pinctrl-names = "default";
  628. pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
  629. status = "disabled";
  630. };
  631. nfc: nand-controller@ff4b0000 {
  632. compatible = "rockchip,rk3308-nfc",
  633. "rockchip,rv1108-nfc";
  634. reg = <0x0 0xff4b0000 0x0 0x4000>;
  635. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  636. clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
  637. clock-names = "ahb", "nfc";
  638. assigned-clocks = <&cru SCLK_NANDC>;
  639. assigned-clock-rates = <150000000>;
  640. pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
  641. &flash_rdn &flash_rdy &flash_wrn>;
  642. pinctrl-names = "default";
  643. status = "disabled";
  644. };
  645. gmac: ethernet@ff4e0000 {
  646. compatible = "rockchip,rk3308-gmac";
  647. reg = <0x0 0xff4e0000 0x0 0x10000>;
  648. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  649. interrupt-names = "macirq";
  650. clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX_TX>,
  651. <&cru SCLK_MAC_RX_TX>, <&cru SCLK_MAC_REF>,
  652. <&cru SCLK_MAC>, <&cru ACLK_MAC>,
  653. <&cru PCLK_MAC>, <&cru SCLK_MAC_RMII>;
  654. clock-names = "stmmaceth", "mac_clk_rx",
  655. "mac_clk_tx", "clk_mac_ref",
  656. "clk_mac_refout", "aclk_mac",
  657. "pclk_mac", "clk_mac_speed";
  658. phy-mode = "rmii";
  659. pinctrl-names = "default";
  660. pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
  661. resets = <&cru SRST_MAC_A>;
  662. reset-names = "stmmaceth";
  663. rockchip,grf = <&grf>;
  664. status = "disabled";
  665. };
  666. sfc: spi@ff4c0000 {
  667. compatible = "rockchip,sfc";
  668. reg = <0x0 0xff4c0000 0x0 0x4000>;
  669. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  670. clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
  671. clock-names = "clk_sfc", "hclk_sfc";
  672. pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
  673. pinctrl-names = "default";
  674. status = "disabled";
  675. };
  676. cru: clock-controller@ff500000 {
  677. compatible = "rockchip,rk3308-cru";
  678. reg = <0x0 0xff500000 0x0 0x1000>;
  679. clocks = <&xin24m>;
  680. clock-names = "xin24m";
  681. rockchip,grf = <&grf>;
  682. #clock-cells = <1>;
  683. #reset-cells = <1>;
  684. assigned-clocks = <&cru SCLK_RTC32K>;
  685. assigned-clock-rates = <32768>;
  686. };
  687. gic: interrupt-controller@ff580000 {
  688. compatible = "arm,gic-400";
  689. reg = <0x0 0xff581000 0x0 0x1000>,
  690. <0x0 0xff582000 0x0 0x2000>,
  691. <0x0 0xff584000 0x0 0x2000>,
  692. <0x0 0xff586000 0x0 0x2000>;
  693. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  694. #interrupt-cells = <3>;
  695. interrupt-controller;
  696. #address-cells = <0>;
  697. };
  698. sram: sram@fff80000 {
  699. compatible = "mmio-sram";
  700. reg = <0x0 0xfff80000 0x0 0x40000>;
  701. ranges = <0 0x0 0xfff80000 0x40000>;
  702. #address-cells = <1>;
  703. #size-cells = <1>;
  704. /* reserved for ddr dvfs and system suspend/resume */
  705. ddr-sram@0 {
  706. reg = <0x0 0x8000>;
  707. };
  708. /* reserved for vad audio buffer */
  709. vad_sram: vad-sram@8000 {
  710. reg = <0x8000 0x38000>;
  711. };
  712. };
  713. pinctrl: pinctrl {
  714. compatible = "rockchip,rk3308-pinctrl";
  715. rockchip,grf = <&grf>;
  716. #address-cells = <2>;
  717. #size-cells = <2>;
  718. ranges;
  719. gpio0: gpio@ff220000 {
  720. compatible = "rockchip,gpio-bank";
  721. reg = <0x0 0xff220000 0x0 0x100>;
  722. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  723. clocks = <&cru PCLK_GPIO0>;
  724. gpio-controller;
  725. #gpio-cells = <2>;
  726. interrupt-controller;
  727. #interrupt-cells = <2>;
  728. };
  729. gpio1: gpio@ff230000 {
  730. compatible = "rockchip,gpio-bank";
  731. reg = <0x0 0xff230000 0x0 0x100>;
  732. interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
  733. clocks = <&cru PCLK_GPIO1>;
  734. gpio-controller;
  735. #gpio-cells = <2>;
  736. interrupt-controller;
  737. #interrupt-cells = <2>;
  738. };
  739. gpio2: gpio@ff240000 {
  740. compatible = "rockchip,gpio-bank";
  741. reg = <0x0 0xff240000 0x0 0x100>;
  742. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  743. clocks = <&cru PCLK_GPIO2>;
  744. gpio-controller;
  745. #gpio-cells = <2>;
  746. interrupt-controller;
  747. #interrupt-cells = <2>;
  748. };
  749. gpio3: gpio@ff250000 {
  750. compatible = "rockchip,gpio-bank";
  751. reg = <0x0 0xff250000 0x0 0x100>;
  752. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  753. clocks = <&cru PCLK_GPIO3>;
  754. gpio-controller;
  755. #gpio-cells = <2>;
  756. interrupt-controller;
  757. #interrupt-cells = <2>;
  758. };
  759. gpio4: gpio@ff260000 {
  760. compatible = "rockchip,gpio-bank";
  761. reg = <0x0 0xff260000 0x0 0x100>;
  762. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  763. clocks = <&cru PCLK_GPIO4>;
  764. gpio-controller;
  765. #gpio-cells = <2>;
  766. interrupt-controller;
  767. #interrupt-cells = <2>;
  768. };
  769. pcfg_pull_up: pcfg-pull-up {
  770. bias-pull-up;
  771. };
  772. pcfg_pull_down: pcfg-pull-down {
  773. bias-pull-down;
  774. };
  775. pcfg_pull_none: pcfg-pull-none {
  776. bias-disable;
  777. };
  778. pcfg_pull_none_2ma: pcfg-pull-none-2ma {
  779. bias-disable;
  780. drive-strength = <2>;
  781. };
  782. pcfg_pull_up_2ma: pcfg-pull-up-2ma {
  783. bias-pull-up;
  784. drive-strength = <2>;
  785. };
  786. pcfg_pull_up_4ma: pcfg-pull-up-4ma {
  787. bias-pull-up;
  788. drive-strength = <4>;
  789. };
  790. pcfg_pull_none_4ma: pcfg-pull-none-4ma {
  791. bias-disable;
  792. drive-strength = <4>;
  793. };
  794. pcfg_pull_down_4ma: pcfg-pull-down-4ma {
  795. bias-pull-down;
  796. drive-strength = <4>;
  797. };
  798. pcfg_pull_none_8ma: pcfg-pull-none-8ma {
  799. bias-disable;
  800. drive-strength = <8>;
  801. };
  802. pcfg_pull_up_8ma: pcfg-pull-up-8ma {
  803. bias-pull-up;
  804. drive-strength = <8>;
  805. };
  806. pcfg_pull_none_12ma: pcfg-pull-none-12ma {
  807. bias-disable;
  808. drive-strength = <12>;
  809. };
  810. pcfg_pull_up_12ma: pcfg-pull-up-12ma {
  811. bias-pull-up;
  812. drive-strength = <12>;
  813. };
  814. pcfg_pull_none_smt: pcfg-pull-none-smt {
  815. bias-disable;
  816. input-schmitt-enable;
  817. };
  818. pcfg_output_high: pcfg-output-high {
  819. output-high;
  820. };
  821. pcfg_output_low: pcfg-output-low {
  822. output-low;
  823. };
  824. pcfg_input_high: pcfg-input-high {
  825. bias-pull-up;
  826. input-enable;
  827. };
  828. pcfg_input: pcfg-input {
  829. input-enable;
  830. };
  831. emmc {
  832. emmc_clk: emmc-clk {
  833. rockchip,pins =
  834. <3 RK_PB1 2 &pcfg_pull_none_8ma>;
  835. };
  836. emmc_cmd: emmc-cmd {
  837. rockchip,pins =
  838. <3 RK_PB0 2 &pcfg_pull_up_8ma>;
  839. };
  840. emmc_pwren: emmc-pwren {
  841. rockchip,pins =
  842. <3 RK_PB3 2 &pcfg_pull_none>;
  843. };
  844. emmc_rstn: emmc-rstn {
  845. rockchip,pins =
  846. <3 RK_PB2 2 &pcfg_pull_none>;
  847. };
  848. emmc_bus1: emmc-bus1 {
  849. rockchip,pins =
  850. <3 RK_PA0 2 &pcfg_pull_up_8ma>;
  851. };
  852. emmc_bus4: emmc-bus4 {
  853. rockchip,pins =
  854. <3 RK_PA0 2 &pcfg_pull_up_8ma>,
  855. <3 RK_PA1 2 &pcfg_pull_up_8ma>,
  856. <3 RK_PA2 2 &pcfg_pull_up_8ma>,
  857. <3 RK_PA3 2 &pcfg_pull_up_8ma>;
  858. };
  859. emmc_bus8: emmc-bus8 {
  860. rockchip,pins =
  861. <3 RK_PA0 2 &pcfg_pull_up_8ma>,
  862. <3 RK_PA1 2 &pcfg_pull_up_8ma>,
  863. <3 RK_PA2 2 &pcfg_pull_up_8ma>,
  864. <3 RK_PA3 2 &pcfg_pull_up_8ma>,
  865. <3 RK_PA4 2 &pcfg_pull_up_8ma>,
  866. <3 RK_PA5 2 &pcfg_pull_up_8ma>,
  867. <3 RK_PA6 2 &pcfg_pull_up_8ma>,
  868. <3 RK_PA7 2 &pcfg_pull_up_8ma>;
  869. };
  870. };
  871. flash {
  872. flash_csn0: flash-csn0 {
  873. rockchip,pins =
  874. <3 RK_PB5 1 &pcfg_pull_none>;
  875. };
  876. flash_rdy: flash-rdy {
  877. rockchip,pins =
  878. <3 RK_PB4 1 &pcfg_pull_none>;
  879. };
  880. flash_ale: flash-ale {
  881. rockchip,pins =
  882. <3 RK_PB3 1 &pcfg_pull_none>;
  883. };
  884. flash_cle: flash-cle {
  885. rockchip,pins =
  886. <3 RK_PB1 1 &pcfg_pull_none>;
  887. };
  888. flash_wrn: flash-wrn {
  889. rockchip,pins =
  890. <3 RK_PB0 1 &pcfg_pull_none>;
  891. };
  892. flash_rdn: flash-rdn {
  893. rockchip,pins =
  894. <3 RK_PB2 1 &pcfg_pull_none>;
  895. };
  896. flash_bus8: flash-bus8 {
  897. rockchip,pins =
  898. <3 RK_PA0 1 &pcfg_pull_up_12ma>,
  899. <3 RK_PA1 1 &pcfg_pull_up_12ma>,
  900. <3 RK_PA2 1 &pcfg_pull_up_12ma>,
  901. <3 RK_PA3 1 &pcfg_pull_up_12ma>,
  902. <3 RK_PA4 1 &pcfg_pull_up_12ma>,
  903. <3 RK_PA5 1 &pcfg_pull_up_12ma>,
  904. <3 RK_PA6 1 &pcfg_pull_up_12ma>,
  905. <3 RK_PA7 1 &pcfg_pull_up_12ma>;
  906. };
  907. };
  908. sfc {
  909. sfc_bus4: sfc-bus4 {
  910. rockchip,pins =
  911. <3 RK_PA0 3 &pcfg_pull_none>,
  912. <3 RK_PA1 3 &pcfg_pull_none>,
  913. <3 RK_PA2 3 &pcfg_pull_none>,
  914. <3 RK_PA3 3 &pcfg_pull_none>;
  915. };
  916. sfc_bus2: sfc-bus2 {
  917. rockchip,pins =
  918. <3 RK_PA0 3 &pcfg_pull_none>,
  919. <3 RK_PA1 3 &pcfg_pull_none>;
  920. };
  921. sfc_cs0: sfc-cs0 {
  922. rockchip,pins =
  923. <3 RK_PA4 3 &pcfg_pull_none>;
  924. };
  925. sfc_clk: sfc-clk {
  926. rockchip,pins =
  927. <3 RK_PA5 3 &pcfg_pull_none>;
  928. };
  929. };
  930. gmac {
  931. rmii_pins: rmii-pins {
  932. rockchip,pins =
  933. /* mac_txen */
  934. <1 RK_PC1 3 &pcfg_pull_none_12ma>,
  935. /* mac_txd1 */
  936. <1 RK_PC3 3 &pcfg_pull_none_12ma>,
  937. /* mac_txd0 */
  938. <1 RK_PC2 3 &pcfg_pull_none_12ma>,
  939. /* mac_rxd0 */
  940. <1 RK_PC4 3 &pcfg_pull_none>,
  941. /* mac_rxd1 */
  942. <1 RK_PC5 3 &pcfg_pull_none>,
  943. /* mac_rxer */
  944. <1 RK_PB7 3 &pcfg_pull_none>,
  945. /* mac_rxdv */
  946. <1 RK_PC0 3 &pcfg_pull_none>,
  947. /* mac_mdio */
  948. <1 RK_PB6 3 &pcfg_pull_none>,
  949. /* mac_mdc */
  950. <1 RK_PB5 3 &pcfg_pull_none>;
  951. };
  952. mac_refclk_12ma: mac-refclk-12ma {
  953. rockchip,pins =
  954. <1 RK_PB4 3 &pcfg_pull_none_12ma>;
  955. };
  956. mac_refclk: mac-refclk {
  957. rockchip,pins =
  958. <1 RK_PB4 3 &pcfg_pull_none>;
  959. };
  960. };
  961. gmac-m1 {
  962. rmiim1_pins: rmiim1-pins {
  963. rockchip,pins =
  964. /* mac_txen */
  965. <4 RK_PB7 2 &pcfg_pull_none_12ma>,
  966. /* mac_txd1 */
  967. <4 RK_PA5 2 &pcfg_pull_none_12ma>,
  968. /* mac_txd0 */
  969. <4 RK_PA4 2 &pcfg_pull_none_12ma>,
  970. /* mac_rxd0 */
  971. <4 RK_PA2 2 &pcfg_pull_none>,
  972. /* mac_rxd1 */
  973. <4 RK_PA3 2 &pcfg_pull_none>,
  974. /* mac_rxer */
  975. <4 RK_PA0 2 &pcfg_pull_none>,
  976. /* mac_rxdv */
  977. <4 RK_PA1 2 &pcfg_pull_none>,
  978. /* mac_mdio */
  979. <4 RK_PB6 2 &pcfg_pull_none>,
  980. /* mac_mdc */
  981. <4 RK_PB5 2 &pcfg_pull_none>;
  982. };
  983. macm1_refclk_12ma: macm1-refclk-12ma {
  984. rockchip,pins =
  985. <4 RK_PB4 2 &pcfg_pull_none_12ma>;
  986. };
  987. macm1_refclk: macm1-refclk {
  988. rockchip,pins =
  989. <4 RK_PB4 2 &pcfg_pull_none>;
  990. };
  991. };
  992. i2c0 {
  993. i2c0_xfer: i2c0-xfer {
  994. rockchip,pins =
  995. <1 RK_PD0 2 &pcfg_pull_none_smt>,
  996. <1 RK_PD1 2 &pcfg_pull_none_smt>;
  997. };
  998. };
  999. i2c1 {
  1000. i2c1_xfer: i2c1-xfer {
  1001. rockchip,pins =
  1002. <0 RK_PB3 1 &pcfg_pull_none_smt>,
  1003. <0 RK_PB4 1 &pcfg_pull_none_smt>;
  1004. };
  1005. };
  1006. i2c2 {
  1007. i2c2_xfer: i2c2-xfer {
  1008. rockchip,pins =
  1009. <2 RK_PA2 3 &pcfg_pull_none_smt>,
  1010. <2 RK_PA3 3 &pcfg_pull_none_smt>;
  1011. };
  1012. };
  1013. i2c3-m0 {
  1014. i2c3m0_xfer: i2c3m0-xfer {
  1015. rockchip,pins =
  1016. <0 RK_PB7 2 &pcfg_pull_none_smt>,
  1017. <0 RK_PC0 2 &pcfg_pull_none_smt>;
  1018. };
  1019. };
  1020. i2c3-m1 {
  1021. i2c3m1_xfer: i2c3m1-xfer {
  1022. rockchip,pins =
  1023. <3 RK_PB4 2 &pcfg_pull_none_smt>,
  1024. <3 RK_PB5 2 &pcfg_pull_none_smt>;
  1025. };
  1026. };
  1027. i2c3-m2 {
  1028. i2c3m2_xfer: i2c3m2-xfer {
  1029. rockchip,pins =
  1030. <2 RK_PA1 3 &pcfg_pull_none_smt>,
  1031. <2 RK_PA0 3 &pcfg_pull_none_smt>;
  1032. };
  1033. };
  1034. i2s_2ch_0 {
  1035. i2s_2ch_0_mclk: i2s-2ch-0-mclk {
  1036. rockchip,pins =
  1037. <4 RK_PB4 1 &pcfg_pull_none>;
  1038. };
  1039. i2s_2ch_0_sclk: i2s-2ch-0-sclk {
  1040. rockchip,pins =
  1041. <4 RK_PB5 1 &pcfg_pull_none>;
  1042. };
  1043. i2s_2ch_0_lrck: i2s-2ch-0-lrck {
  1044. rockchip,pins =
  1045. <4 RK_PB6 1 &pcfg_pull_none>;
  1046. };
  1047. i2s_2ch_0_sdo: i2s-2ch-0-sdo {
  1048. rockchip,pins =
  1049. <4 RK_PB7 1 &pcfg_pull_none>;
  1050. };
  1051. i2s_2ch_0_sdi: i2s-2ch-0-sdi {
  1052. rockchip,pins =
  1053. <4 RK_PC0 1 &pcfg_pull_none>;
  1054. };
  1055. };
  1056. i2s_8ch_0 {
  1057. i2s_8ch_0_mclk: i2s-8ch-0-mclk {
  1058. rockchip,pins =
  1059. <2 RK_PA4 1 &pcfg_pull_none>;
  1060. };
  1061. i2s_8ch_0_sclktx: i2s-8ch-0-sclktx {
  1062. rockchip,pins =
  1063. <2 RK_PA5 1 &pcfg_pull_none>;
  1064. };
  1065. i2s_8ch_0_sclkrx: i2s-8ch-0-sclkrx {
  1066. rockchip,pins =
  1067. <2 RK_PA6 1 &pcfg_pull_none>;
  1068. };
  1069. i2s_8ch_0_lrcktx: i2s-8ch-0-lrcktx {
  1070. rockchip,pins =
  1071. <2 RK_PA7 1 &pcfg_pull_none>;
  1072. };
  1073. i2s_8ch_0_lrckrx: i2s-8ch-0-lrckrx {
  1074. rockchip,pins =
  1075. <2 RK_PB0 1 &pcfg_pull_none>;
  1076. };
  1077. i2s_8ch_0_sdo0: i2s-8ch-0-sdo0 {
  1078. rockchip,pins =
  1079. <2 RK_PB1 1 &pcfg_pull_none>;
  1080. };
  1081. i2s_8ch_0_sdo1: i2s-8ch-0-sdo1 {
  1082. rockchip,pins =
  1083. <2 RK_PB2 1 &pcfg_pull_none>;
  1084. };
  1085. i2s_8ch_0_sdo2: i2s-8ch-0-sdo2 {
  1086. rockchip,pins =
  1087. <2 RK_PB3 1 &pcfg_pull_none>;
  1088. };
  1089. i2s_8ch_0_sdo3: i2s-8ch-0-sdo3 {
  1090. rockchip,pins =
  1091. <2 RK_PB4 1 &pcfg_pull_none>;
  1092. };
  1093. i2s_8ch_0_sdi0: i2s-8ch-0-sdi0 {
  1094. rockchip,pins =
  1095. <2 RK_PB5 1 &pcfg_pull_none>;
  1096. };
  1097. i2s_8ch_0_sdi1: i2s-8ch-0-sdi1 {
  1098. rockchip,pins =
  1099. <2 RK_PB6 1 &pcfg_pull_none>;
  1100. };
  1101. i2s_8ch_0_sdi2: i2s-8ch-0-sdi2 {
  1102. rockchip,pins =
  1103. <2 RK_PB7 1 &pcfg_pull_none>;
  1104. };
  1105. i2s_8ch_0_sdi3: i2s-8ch-0-sdi3 {
  1106. rockchip,pins =
  1107. <2 RK_PC0 1 &pcfg_pull_none>;
  1108. };
  1109. };
  1110. i2s_8ch_1_m0 {
  1111. i2s_8ch_1_m0_mclk: i2s-8ch-1-m0-mclk {
  1112. rockchip,pins =
  1113. <1 RK_PA2 2 &pcfg_pull_none>;
  1114. };
  1115. i2s_8ch_1_m0_sclktx: i2s-8ch-1-m0-sclktx {
  1116. rockchip,pins =
  1117. <1 RK_PA3 2 &pcfg_pull_none>;
  1118. };
  1119. i2s_8ch_1_m0_sclkrx: i2s-8ch-1-m0-sclkrx {
  1120. rockchip,pins =
  1121. <1 RK_PA4 2 &pcfg_pull_none>;
  1122. };
  1123. i2s_8ch_1_m0_lrcktx: i2s-8ch-1-m0-lrcktx {
  1124. rockchip,pins =
  1125. <1 RK_PA5 2 &pcfg_pull_none>;
  1126. };
  1127. i2s_8ch_1_m0_lrckrx: i2s-8ch-1-m0-lrckrx {
  1128. rockchip,pins =
  1129. <1 RK_PA6 2 &pcfg_pull_none>;
  1130. };
  1131. i2s_8ch_1_m0_sdo0: i2s-8ch-1-m0-sdo0 {
  1132. rockchip,pins =
  1133. <1 RK_PA7 2 &pcfg_pull_none>;
  1134. };
  1135. i2s_8ch_1_m0_sdo1_sdi3: i2s-8ch-1-m0-sdo1-sdi3 {
  1136. rockchip,pins =
  1137. <1 RK_PB0 2 &pcfg_pull_none>;
  1138. };
  1139. i2s_8ch_1_m0_sdo2_sdi2: i2s-8ch-1-m0-sdo2-sdi2 {
  1140. rockchip,pins =
  1141. <1 RK_PB1 2 &pcfg_pull_none>;
  1142. };
  1143. i2s_8ch_1_m0_sdo3_sdi1: i2s-8ch-1-m0-sdo3_sdi1 {
  1144. rockchip,pins =
  1145. <1 RK_PB2 2 &pcfg_pull_none>;
  1146. };
  1147. i2s_8ch_1_m0_sdi0: i2s-8ch-1-m0-sdi0 {
  1148. rockchip,pins =
  1149. <1 RK_PB3 2 &pcfg_pull_none>;
  1150. };
  1151. };
  1152. i2s_8ch_1_m1 {
  1153. i2s_8ch_1_m1_mclk: i2s-8ch-1-m1-mclk {
  1154. rockchip,pins =
  1155. <1 RK_PB4 2 &pcfg_pull_none>;
  1156. };
  1157. i2s_8ch_1_m1_sclktx: i2s-8ch-1-m1-sclktx {
  1158. rockchip,pins =
  1159. <1 RK_PB5 2 &pcfg_pull_none>;
  1160. };
  1161. i2s_8ch_1_m1_sclkrx: i2s-8ch-1-m1-sclkrx {
  1162. rockchip,pins =
  1163. <1 RK_PB6 2 &pcfg_pull_none>;
  1164. };
  1165. i2s_8ch_1_m1_lrcktx: i2s-8ch-1-m1-lrcktx {
  1166. rockchip,pins =
  1167. <1 RK_PB7 2 &pcfg_pull_none>;
  1168. };
  1169. i2s_8ch_1_m1_lrckrx: i2s-8ch-1-m1-lrckrx {
  1170. rockchip,pins =
  1171. <1 RK_PC0 2 &pcfg_pull_none>;
  1172. };
  1173. i2s_8ch_1_m1_sdo0: i2s-8ch-1-m1-sdo0 {
  1174. rockchip,pins =
  1175. <1 RK_PC1 2 &pcfg_pull_none>;
  1176. };
  1177. i2s_8ch_1_m1_sdo1_sdi3: i2s-8ch-1-m1-sdo1-sdi3 {
  1178. rockchip,pins =
  1179. <1 RK_PC2 2 &pcfg_pull_none>;
  1180. };
  1181. i2s_8ch_1_m1_sdo2_sdi2: i2s-8ch-1-m1-sdo2-sdi2 {
  1182. rockchip,pins =
  1183. <1 RK_PC3 2 &pcfg_pull_none>;
  1184. };
  1185. i2s_8ch_1_m1_sdo3_sdi1: i2s-8ch-1-m1-sdo3_sdi1 {
  1186. rockchip,pins =
  1187. <1 RK_PC4 2 &pcfg_pull_none>;
  1188. };
  1189. i2s_8ch_1_m1_sdi0: i2s-8ch-1-m1-sdi0 {
  1190. rockchip,pins =
  1191. <1 RK_PC5 2 &pcfg_pull_none>;
  1192. };
  1193. };
  1194. pdm_m0 {
  1195. pdm_m0_clk: pdm-m0-clk {
  1196. rockchip,pins =
  1197. <1 RK_PA4 3 &pcfg_pull_none>;
  1198. };
  1199. pdm_m0_sdi0: pdm-m0-sdi0 {
  1200. rockchip,pins =
  1201. <1 RK_PB3 3 &pcfg_pull_none>;
  1202. };
  1203. pdm_m0_sdi1: pdm-m0-sdi1 {
  1204. rockchip,pins =
  1205. <1 RK_PB2 3 &pcfg_pull_none>;
  1206. };
  1207. pdm_m0_sdi2: pdm-m0-sdi2 {
  1208. rockchip,pins =
  1209. <1 RK_PB1 3 &pcfg_pull_none>;
  1210. };
  1211. pdm_m0_sdi3: pdm-m0-sdi3 {
  1212. rockchip,pins =
  1213. <1 RK_PB0 3 &pcfg_pull_none>;
  1214. };
  1215. };
  1216. pdm_m1 {
  1217. pdm_m1_clk: pdm-m1-clk {
  1218. rockchip,pins =
  1219. <1 RK_PB6 4 &pcfg_pull_none>;
  1220. };
  1221. pdm_m1_sdi0: pdm-m1-sdi0 {
  1222. rockchip,pins =
  1223. <1 RK_PC5 4 &pcfg_pull_none>;
  1224. };
  1225. pdm_m1_sdi1: pdm-m1-sdi1 {
  1226. rockchip,pins =
  1227. <1 RK_PC4 4 &pcfg_pull_none>;
  1228. };
  1229. pdm_m1_sdi2: pdm-m1-sdi2 {
  1230. rockchip,pins =
  1231. <1 RK_PC3 4 &pcfg_pull_none>;
  1232. };
  1233. pdm_m1_sdi3: pdm-m1-sdi3 {
  1234. rockchip,pins =
  1235. <1 RK_PC2 4 &pcfg_pull_none>;
  1236. };
  1237. };
  1238. pdm_m2 {
  1239. pdm_m2_clkm: pdm-m2-clkm {
  1240. rockchip,pins =
  1241. <2 RK_PA4 3 &pcfg_pull_none>;
  1242. };
  1243. pdm_m2_clk: pdm-m2-clk {
  1244. rockchip,pins =
  1245. <2 RK_PA6 2 &pcfg_pull_none>;
  1246. };
  1247. pdm_m2_sdi0: pdm-m2-sdi0 {
  1248. rockchip,pins =
  1249. <2 RK_PB5 2 &pcfg_pull_none>;
  1250. };
  1251. pdm_m2_sdi1: pdm-m2-sdi1 {
  1252. rockchip,pins =
  1253. <2 RK_PB6 2 &pcfg_pull_none>;
  1254. };
  1255. pdm_m2_sdi2: pdm-m2-sdi2 {
  1256. rockchip,pins =
  1257. <2 RK_PB7 2 &pcfg_pull_none>;
  1258. };
  1259. pdm_m2_sdi3: pdm-m2-sdi3 {
  1260. rockchip,pins =
  1261. <2 RK_PC0 2 &pcfg_pull_none>;
  1262. };
  1263. };
  1264. pwm0 {
  1265. pwm0_pin: pwm0-pin {
  1266. rockchip,pins =
  1267. <0 RK_PB5 1 &pcfg_pull_none>;
  1268. };
  1269. pwm0_pin_pull_down: pwm0-pin-pull-down {
  1270. rockchip,pins =
  1271. <0 RK_PB5 1 &pcfg_pull_down>;
  1272. };
  1273. };
  1274. pwm1 {
  1275. pwm1_pin: pwm1-pin {
  1276. rockchip,pins =
  1277. <0 RK_PB6 1 &pcfg_pull_none>;
  1278. };
  1279. pwm1_pin_pull_down: pwm1-pin-pull-down {
  1280. rockchip,pins =
  1281. <0 RK_PB6 1 &pcfg_pull_down>;
  1282. };
  1283. };
  1284. pwm2 {
  1285. pwm2_pin: pwm2-pin {
  1286. rockchip,pins =
  1287. <0 RK_PB7 1 &pcfg_pull_none>;
  1288. };
  1289. pwm2_pin_pull_down: pwm2-pin-pull-down {
  1290. rockchip,pins =
  1291. <0 RK_PB7 1 &pcfg_pull_down>;
  1292. };
  1293. };
  1294. pwm3 {
  1295. pwm3_pin: pwm3-pin {
  1296. rockchip,pins =
  1297. <0 RK_PC0 1 &pcfg_pull_none>;
  1298. };
  1299. pwm3_pin_pull_down: pwm3-pin-pull-down {
  1300. rockchip,pins =
  1301. <0 RK_PC0 1 &pcfg_pull_down>;
  1302. };
  1303. };
  1304. pwm4 {
  1305. pwm4_pin: pwm4-pin {
  1306. rockchip,pins =
  1307. <0 RK_PA1 2 &pcfg_pull_none>;
  1308. };
  1309. pwm4_pin_pull_down: pwm4-pin-pull-down {
  1310. rockchip,pins =
  1311. <0 RK_PA1 2 &pcfg_pull_down>;
  1312. };
  1313. };
  1314. pwm5 {
  1315. pwm5_pin: pwm5-pin {
  1316. rockchip,pins =
  1317. <0 RK_PC1 2 &pcfg_pull_none>;
  1318. };
  1319. pwm5_pin_pull_down: pwm5-pin-pull-down {
  1320. rockchip,pins =
  1321. <0 RK_PC1 2 &pcfg_pull_down>;
  1322. };
  1323. };
  1324. pwm6 {
  1325. pwm6_pin: pwm6-pin {
  1326. rockchip,pins =
  1327. <0 RK_PC2 2 &pcfg_pull_none>;
  1328. };
  1329. pwm6_pin_pull_down: pwm6-pin-pull-down {
  1330. rockchip,pins =
  1331. <0 RK_PC2 2 &pcfg_pull_down>;
  1332. };
  1333. };
  1334. pwm7 {
  1335. pwm7_pin: pwm7-pin {
  1336. rockchip,pins =
  1337. <2 RK_PB0 2 &pcfg_pull_none>;
  1338. };
  1339. pwm7_pin_pull_down: pwm7-pin-pull-down {
  1340. rockchip,pins =
  1341. <2 RK_PB0 2 &pcfg_pull_down>;
  1342. };
  1343. };
  1344. pwm8 {
  1345. pwm8_pin: pwm8-pin {
  1346. rockchip,pins =
  1347. <2 RK_PB2 2 &pcfg_pull_none>;
  1348. };
  1349. pwm8_pin_pull_down: pwm8-pin-pull-down {
  1350. rockchip,pins =
  1351. <2 RK_PB2 2 &pcfg_pull_down>;
  1352. };
  1353. };
  1354. pwm9 {
  1355. pwm9_pin: pwm9-pin {
  1356. rockchip,pins =
  1357. <2 RK_PB3 2 &pcfg_pull_none>;
  1358. };
  1359. pwm9_pin_pull_down: pwm9-pin-pull-down {
  1360. rockchip,pins =
  1361. <2 RK_PB3 2 &pcfg_pull_down>;
  1362. };
  1363. };
  1364. pwm10 {
  1365. pwm10_pin: pwm10-pin {
  1366. rockchip,pins =
  1367. <2 RK_PB4 2 &pcfg_pull_none>;
  1368. };
  1369. pwm10_pin_pull_down: pwm10-pin-pull-down {
  1370. rockchip,pins =
  1371. <2 RK_PB4 2 &pcfg_pull_down>;
  1372. };
  1373. };
  1374. pwm11 {
  1375. pwm11_pin: pwm11-pin {
  1376. rockchip,pins =
  1377. <2 RK_PC0 4 &pcfg_pull_none>;
  1378. };
  1379. pwm11_pin_pull_down: pwm11-pin-pull-down {
  1380. rockchip,pins =
  1381. <2 RK_PC0 4 &pcfg_pull_down>;
  1382. };
  1383. };
  1384. rtc {
  1385. rtc_32k: rtc-32k {
  1386. rockchip,pins =
  1387. <0 RK_PC3 1 &pcfg_pull_none>;
  1388. };
  1389. };
  1390. sdmmc {
  1391. sdmmc_clk: sdmmc-clk {
  1392. rockchip,pins =
  1393. <4 RK_PD5 1 &pcfg_pull_none_4ma>;
  1394. };
  1395. sdmmc_cmd: sdmmc-cmd {
  1396. rockchip,pins =
  1397. <4 RK_PD4 1 &pcfg_pull_up_4ma>;
  1398. };
  1399. sdmmc_det: sdmmc-det {
  1400. rockchip,pins =
  1401. <0 RK_PA3 1 &pcfg_pull_up_4ma>;
  1402. };
  1403. sdmmc_pwren: sdmmc-pwren {
  1404. rockchip,pins =
  1405. <4 RK_PD6 1 &pcfg_pull_none_4ma>;
  1406. };
  1407. sdmmc_bus1: sdmmc-bus1 {
  1408. rockchip,pins =
  1409. <4 RK_PD0 1 &pcfg_pull_up_4ma>;
  1410. };
  1411. sdmmc_bus4: sdmmc-bus4 {
  1412. rockchip,pins =
  1413. <4 RK_PD0 1 &pcfg_pull_up_4ma>,
  1414. <4 RK_PD1 1 &pcfg_pull_up_4ma>,
  1415. <4 RK_PD2 1 &pcfg_pull_up_4ma>,
  1416. <4 RK_PD3 1 &pcfg_pull_up_4ma>;
  1417. };
  1418. };
  1419. sdio {
  1420. sdio_clk: sdio-clk {
  1421. rockchip,pins =
  1422. <4 RK_PA5 1 &pcfg_pull_none_8ma>;
  1423. };
  1424. sdio_cmd: sdio-cmd {
  1425. rockchip,pins =
  1426. <4 RK_PA4 1 &pcfg_pull_up_8ma>;
  1427. };
  1428. sdio_pwren: sdio-pwren {
  1429. rockchip,pins =
  1430. <0 RK_PA2 1 &pcfg_pull_none_8ma>;
  1431. };
  1432. sdio_wrpt: sdio-wrpt {
  1433. rockchip,pins =
  1434. <0 RK_PA1 1 &pcfg_pull_none_8ma>;
  1435. };
  1436. sdio_intn: sdio-intn {
  1437. rockchip,pins =
  1438. <0 RK_PA0 1 &pcfg_pull_none_8ma>;
  1439. };
  1440. sdio_bus1: sdio-bus1 {
  1441. rockchip,pins =
  1442. <4 RK_PA0 1 &pcfg_pull_up_8ma>;
  1443. };
  1444. sdio_bus4: sdio-bus4 {
  1445. rockchip,pins =
  1446. <4 RK_PA0 1 &pcfg_pull_up_8ma>,
  1447. <4 RK_PA1 1 &pcfg_pull_up_8ma>,
  1448. <4 RK_PA2 1 &pcfg_pull_up_8ma>,
  1449. <4 RK_PA3 1 &pcfg_pull_up_8ma>;
  1450. };
  1451. };
  1452. spdif_in {
  1453. spdif_in: spdif-in {
  1454. rockchip,pins =
  1455. <0 RK_PC2 1 &pcfg_pull_none>;
  1456. };
  1457. };
  1458. spdif_out {
  1459. spdif_out: spdif-out {
  1460. rockchip,pins =
  1461. <0 RK_PC1 1 &pcfg_pull_none>;
  1462. };
  1463. };
  1464. spi0 {
  1465. spi0_clk: spi0-clk {
  1466. rockchip,pins =
  1467. <2 RK_PA2 2 &pcfg_pull_up_4ma>;
  1468. };
  1469. spi0_csn0: spi0-csn0 {
  1470. rockchip,pins =
  1471. <2 RK_PA3 2 &pcfg_pull_up_4ma>;
  1472. };
  1473. spi0_miso: spi0-miso {
  1474. rockchip,pins =
  1475. <2 RK_PA0 2 &pcfg_pull_up_4ma>;
  1476. };
  1477. spi0_mosi: spi0-mosi {
  1478. rockchip,pins =
  1479. <2 RK_PA1 2 &pcfg_pull_up_4ma>;
  1480. };
  1481. };
  1482. spi1 {
  1483. spi1_clk: spi1-clk {
  1484. rockchip,pins =
  1485. <3 RK_PB3 3 &pcfg_pull_up_4ma>;
  1486. };
  1487. spi1_csn0: spi1-csn0 {
  1488. rockchip,pins =
  1489. <3 RK_PB5 3 &pcfg_pull_up_4ma>;
  1490. };
  1491. spi1_miso: spi1-miso {
  1492. rockchip,pins =
  1493. <3 RK_PB2 3 &pcfg_pull_up_4ma>;
  1494. };
  1495. spi1_mosi: spi1-mosi {
  1496. rockchip,pins =
  1497. <3 RK_PB4 3 &pcfg_pull_up_4ma>;
  1498. };
  1499. };
  1500. spi1-m1 {
  1501. spi1m1_miso: spi1m1-miso {
  1502. rockchip,pins =
  1503. <2 RK_PA4 2 &pcfg_pull_up_4ma>;
  1504. };
  1505. spi1m1_mosi: spi1m1-mosi {
  1506. rockchip,pins =
  1507. <2 RK_PA5 2 &pcfg_pull_up_4ma>;
  1508. };
  1509. spi1m1_clk: spi1m1-clk {
  1510. rockchip,pins =
  1511. <2 RK_PA7 2 &pcfg_pull_up_4ma>;
  1512. };
  1513. spi1m1_csn0: spi1m1-csn0 {
  1514. rockchip,pins =
  1515. <2 RK_PB1 2 &pcfg_pull_up_4ma>;
  1516. };
  1517. };
  1518. spi2 {
  1519. spi2_clk: spi2-clk {
  1520. rockchip,pins =
  1521. <1 RK_PD0 3 &pcfg_pull_up_4ma>;
  1522. };
  1523. spi2_csn0: spi2-csn0 {
  1524. rockchip,pins =
  1525. <1 RK_PD1 3 &pcfg_pull_up_4ma>;
  1526. };
  1527. spi2_miso: spi2-miso {
  1528. rockchip,pins =
  1529. <1 RK_PC6 3 &pcfg_pull_up_4ma>;
  1530. };
  1531. spi2_mosi: spi2-mosi {
  1532. rockchip,pins =
  1533. <1 RK_PC7 3 &pcfg_pull_up_4ma>;
  1534. };
  1535. };
  1536. tsadc {
  1537. tsadc_otp_pin: tsadc-otp-pin {
  1538. rockchip,pins =
  1539. <0 RK_PB2 0 &pcfg_pull_none>;
  1540. };
  1541. tsadc_otp_out: tsadc-otp-out {
  1542. rockchip,pins =
  1543. <0 RK_PB2 1 &pcfg_pull_none>;
  1544. };
  1545. };
  1546. uart0 {
  1547. uart0_xfer: uart0-xfer {
  1548. rockchip,pins =
  1549. <2 RK_PA1 1 &pcfg_pull_up>,
  1550. <2 RK_PA0 1 &pcfg_pull_up>;
  1551. };
  1552. uart0_cts: uart0-cts {
  1553. rockchip,pins =
  1554. <2 RK_PA2 1 &pcfg_pull_none>;
  1555. };
  1556. uart0_rts: uart0-rts {
  1557. rockchip,pins =
  1558. <2 RK_PA3 1 &pcfg_pull_none>;
  1559. };
  1560. uart0_rts_pin: uart0-rts-pin {
  1561. rockchip,pins =
  1562. <2 RK_PA3 0 &pcfg_pull_none>;
  1563. };
  1564. };
  1565. uart1 {
  1566. uart1_xfer: uart1-xfer {
  1567. rockchip,pins =
  1568. <1 RK_PD1 1 &pcfg_pull_up>,
  1569. <1 RK_PD0 1 &pcfg_pull_up>;
  1570. };
  1571. uart1_cts: uart1-cts {
  1572. rockchip,pins =
  1573. <1 RK_PC6 1 &pcfg_pull_none>;
  1574. };
  1575. uart1_rts: uart1-rts {
  1576. rockchip,pins =
  1577. <1 RK_PC7 1 &pcfg_pull_none>;
  1578. };
  1579. };
  1580. uart2-m0 {
  1581. uart2m0_xfer: uart2m0-xfer {
  1582. rockchip,pins =
  1583. <1 RK_PC7 2 &pcfg_pull_up>,
  1584. <1 RK_PC6 2 &pcfg_pull_up>;
  1585. };
  1586. };
  1587. uart2-m1 {
  1588. uart2m1_xfer: uart2m1-xfer {
  1589. rockchip,pins =
  1590. <4 RK_PD3 2 &pcfg_pull_up>,
  1591. <4 RK_PD2 2 &pcfg_pull_up>;
  1592. };
  1593. };
  1594. uart3 {
  1595. uart3_xfer: uart3-xfer {
  1596. rockchip,pins =
  1597. <3 RK_PB5 4 &pcfg_pull_up>,
  1598. <3 RK_PB4 4 &pcfg_pull_up>;
  1599. };
  1600. };
  1601. uart3-m1 {
  1602. uart3m1_xfer: uart3m1-xfer {
  1603. rockchip,pins =
  1604. <0 RK_PC2 3 &pcfg_pull_up>,
  1605. <0 RK_PC1 3 &pcfg_pull_up>;
  1606. };
  1607. };
  1608. uart4 {
  1609. uart4_xfer: uart4-xfer {
  1610. rockchip,pins =
  1611. <4 RK_PB1 1 &pcfg_pull_up>,
  1612. <4 RK_PB0 1 &pcfg_pull_up>;
  1613. };
  1614. uart4_cts: uart4-cts {
  1615. rockchip,pins =
  1616. <4 RK_PA6 1 &pcfg_pull_none>;
  1617. };
  1618. uart4_rts: uart4-rts {
  1619. rockchip,pins =
  1620. <4 RK_PA7 1 &pcfg_pull_none>;
  1621. };
  1622. uart4_rts_pin: uart4-rts-pin {
  1623. rockchip,pins =
  1624. <4 RK_PA7 0 &pcfg_pull_none>;
  1625. };
  1626. };
  1627. };
  1628. };