Jagan Teki | e05b4a4 | 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 | 5532e3b | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 5 | #define USB_CLASS_HUB 9 |
Jagan Teki | e05b4a4 | 2019-03-11 13:50:03 +0530 | [diff] [blame] | 6 | |
Peter Robinson | 5532e3b | 2020-01-20 09:17:00 +0000 | [diff] [blame] | 7 | / { |
| 8 | aliases { |
| 9 | mmc0 = &sdhci; |
| 10 | mmc1 = &sdmmc; |
| 11 | }; |
| 12 | |
| 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 | |
| 28 | dmc: dmc { |
| 29 | u-boot,dm-pre-reloc; |
| 30 | compatible = "rockchip,rk3399-dmc"; |
| 31 | devfreq-events = <&dfi>; |
| 32 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>; |
| 33 | clocks = <&cru SCLK_DDRCLK>; |
| 34 | clock-names = "dmc_clk"; |
| 35 | reg = <0x0 0xffa80000 0x0 0x0800 |
| 36 | 0x0 0xffa80800 0x0 0x1800 |
| 37 | 0x0 0xffa82000 0x0 0x2000 |
| 38 | 0x0 0xffa84000 0x0 0x1000 |
| 39 | 0x0 0xffa88000 0x0 0x0800 |
| 40 | 0x0 0xffa88800 0x0 0x1800 |
| 41 | 0x0 0xffa8a000 0x0 0x2000 |
| 42 | 0x0 0xffa8c000 0x0 0x1000>; |
| 43 | }; |
| 44 | |
| 45 | pmusgrf: syscon@ff330000 { |
| 46 | u-boot,dm-pre-reloc; |
| 47 | compatible = "rockchip,rk3399-pmusgrf", "syscon"; |
| 48 | reg = <0x0 0xff330000 0x0 0xe3d4>; |
| 49 | }; |
| 50 | |
Peter Robinson | f459e23 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | &cru { |
| 54 | u-boot,dm-pre-reloc; |
| 55 | }; |
| 56 | |
Peter Robinson | f459e23 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 57 | &grf { |
| 58 | u-boot,dm-pre-reloc; |
| 59 | }; |
| 60 | |
| 61 | &pinctrl { |
| 62 | u-boot,dm-pre-reloc; |
| 63 | }; |
| 64 | |
Jagan Teki | ab0ce36 | 2019-07-16 17:27:34 +0530 | [diff] [blame] | 65 | &pmu { |
| 66 | u-boot,dm-pre-reloc; |
| 67 | }; |
| 68 | |
Peter Robinson | f459e23 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 69 | &pmugrf { |
| 70 | u-boot,dm-pre-reloc; |
| 71 | }; |
| 72 | |
| 73 | &pmu { |
| 74 | u-boot,dm-pre-reloc; |
| 75 | }; |
| 76 | |
| 77 | &pmucru { |
| 78 | u-boot,dm-pre-reloc; |
| 79 | }; |
| 80 | |
Peter Robinson | f459e23 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 81 | &sdhci { |
| 82 | u-boot,dm-pre-reloc; |
| 83 | }; |
| 84 | |
Jagan Teki | e05b4a4 | 2019-03-11 13:50:03 +0530 | [diff] [blame] | 85 | &sdmmc { |
| 86 | u-boot,dm-pre-reloc; |
| 87 | }; |
Jagan Teki | b5f8891 | 2019-05-07 23:51:51 +0530 | [diff] [blame] | 88 | |
| 89 | &spi1 { |
| 90 | u-boot,dm-pre-reloc; |
| 91 | }; |
Jagan Teki | 16b0dd4 | 2019-06-21 00:25:02 +0530 | [diff] [blame] | 92 | |
| 93 | &uart0 { |
| 94 | u-boot,dm-pre-reloc; |
| 95 | }; |
| 96 | |
| 97 | &uart2 { |
| 98 | u-boot,dm-pre-reloc; |
| 99 | }; |
Peter Robinson | f459e23 | 2019-11-09 20:30:05 +0000 | [diff] [blame] | 100 | |
| 101 | &vopb { |
| 102 | u-boot,dm-pre-reloc; |
| 103 | }; |
| 104 | |
| 105 | &vopl { |
| 106 | u-boot,dm-pre-reloc; |
| 107 | }; |