Jagan Teki | 208badd | 2019-03-11 13:50:03 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> |
| 4 | */ |
Peter Robinson | 94fb4c4 | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 5 | #define USB_CLASS_HUB 9 |
Jagan Teki | 208badd | 2019-03-11 13:50:03 +0530 | [diff] [blame] | 6 | |
Peter Robinson | 94fb4c4 | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 7 | / { |
| 8 | aliases { |
| 9 | mmc0 = &sdhci; |
| 10 | mmc1 = &sdmmc; |
| 11 | }; |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 12 | |
Peter Robinson | 94fb4c4 | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 13 | cic: syscon@ff620000 { |
| 14 | u-boot,dm-pre-reloc; |
| 15 | compatible = "rockchip,rk3399-cic", "syscon"; |
| 16 | reg = <0x0 0xff620000 0x0 0x100>; |
| 17 | }; |
| 18 | |
| 19 | dfi: dfi@ff630000 { |
| 20 | u-boot,dm-pre-reloc; |
| 21 | reg = <0x00 0xff630000 0x00 0x4000>; |
| 22 | compatible = "rockchip,rk3399-dfi"; |
| 23 | rockchip,pmu = <&pmugrf>; |
| 24 | clocks = <&cru PCLK_DDR_MON>; |
| 25 | clock-names = "pclk_ddr_mon"; |
| 26 | }; |
| 27 | |
Lin Jinhan | 3e714cf | 2020-03-31 17:39:57 +0800 | [diff] [blame] | 28 | rng: rng@ff8b8000 { |
| 29 | compatible = "rockchip,cryptov1-rng"; |
| 30 | reg = <0x0 0xff8b8000 0x0 0x1000>; |
| 31 | status = "disabled"; |
| 32 | }; |
| 33 | |
Peter Robinson | 94fb4c4 | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 34 | dmc: dmc { |
| 35 | u-boot,dm-pre-reloc; |
| 36 | compatible = "rockchip,rk3399-dmc"; |
| 37 | devfreq-events = <&dfi>; |
| 38 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>; |
| 39 | clocks = <&cru SCLK_DDRCLK>; |
| 40 | clock-names = "dmc_clk"; |
| 41 | reg = <0x0 0xffa80000 0x0 0x0800 |
| 42 | 0x0 0xffa80800 0x0 0x1800 |
| 43 | 0x0 0xffa82000 0x0 0x2000 |
| 44 | 0x0 0xffa84000 0x0 0x1000 |
| 45 | 0x0 0xffa88000 0x0 0x0800 |
| 46 | 0x0 0xffa88800 0x0 0x1800 |
| 47 | 0x0 0xffa8a000 0x0 0x2000 |
| 48 | 0x0 0xffa8c000 0x0 0x1000>; |
| 49 | }; |
| 50 | |
| 51 | pmusgrf: syscon@ff330000 { |
| 52 | u-boot,dm-pre-reloc; |
| 53 | compatible = "rockchip,rk3399-pmusgrf", "syscon"; |
| 54 | reg = <0x0 0xff330000 0x0 0xe3d4>; |
| 55 | }; |
| 56 | |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 57 | }; |
| 58 | |
Peter Robinson | 94fb4c4 | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 59 | &cru { |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 60 | u-boot,dm-pre-reloc; |
| 61 | }; |
| 62 | |
| 63 | &grf { |
| 64 | u-boot,dm-pre-reloc; |
| 65 | }; |
| 66 | |
| 67 | &pinctrl { |
| 68 | u-boot,dm-pre-reloc; |
| 69 | }; |
| 70 | |
Jagan Teki | 9b54585 | 2019-07-16 17:27:34 +0530 | [diff] [blame] | 71 | &pmu { |
| 72 | u-boot,dm-pre-reloc; |
| 73 | }; |
| 74 | |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 75 | &pmugrf { |
| 76 | u-boot,dm-pre-reloc; |
| 77 | }; |
| 78 | |
| 79 | &pmu { |
| 80 | u-boot,dm-pre-reloc; |
| 81 | }; |
| 82 | |
| 83 | &pmucru { |
| 84 | u-boot,dm-pre-reloc; |
| 85 | }; |
| 86 | |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 87 | &sdhci { |
Jagan Teki | 5cc2118 | 2020-04-28 15:30:17 +0530 | [diff] [blame^] | 88 | max-frequency = <200000000>; |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 89 | u-boot,dm-pre-reloc; |
| 90 | }; |
| 91 | |
Jagan Teki | 208badd | 2019-03-11 13:50:03 +0530 | [diff] [blame] | 92 | &sdmmc { |
| 93 | u-boot,dm-pre-reloc; |
| 94 | }; |
Jagan Teki | 60c5fed | 2019-05-07 23:51:51 +0530 | [diff] [blame] | 95 | |
| 96 | &spi1 { |
| 97 | u-boot,dm-pre-reloc; |
| 98 | }; |
Jagan Teki | 2ff51fd | 2019-06-21 00:25:02 +0530 | [diff] [blame] | 99 | |
| 100 | &uart0 { |
| 101 | u-boot,dm-pre-reloc; |
| 102 | }; |
| 103 | |
| 104 | &uart2 { |
| 105 | u-boot,dm-pre-reloc; |
| 106 | }; |
Peter Robinson | dd44a15 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 107 | |
| 108 | &vopb { |
| 109 | u-boot,dm-pre-reloc; |
| 110 | }; |
| 111 | |
| 112 | &vopl { |
| 113 | u-boot,dm-pre-reloc; |
| 114 | }; |