1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 3 /* 3 /* 4 * Copyright (C) 2018 O.S. Systems Software LT 4 * Copyright (C) 2018 O.S. Systems Software LTDA. 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "rv1108.dtsi" 9 #include "rv1108.dtsi" 10 10 11 / { 11 / { 12 model = "Elgin RV1108 R1 board"; 12 model = "Elgin RV1108 R1 board"; 13 compatible = "elgin,rv1108-r1", "rockc 13 compatible = "elgin,rv1108-r1", "rockchip,rv1108"; 14 14 15 aliases { 15 aliases { 16 mmc0 = &emmc; 16 mmc0 = &emmc; 17 }; 17 }; 18 18 19 memory@60000000 { 19 memory@60000000 { 20 device_type = "memory"; 20 device_type = "memory"; 21 reg = <0x60000000 0x08000000>; 21 reg = <0x60000000 0x08000000>; 22 }; 22 }; 23 23 24 chosen { 24 chosen { 25 stdout-path = "serial2:1500000 25 stdout-path = "serial2:1500000n8"; 26 }; 26 }; 27 27 28 vcc_sys: vsys-regulator { 28 vcc_sys: vsys-regulator { 29 compatible = "regulator-fixed" 29 compatible = "regulator-fixed"; 30 regulator-name = "vsys"; 30 regulator-name = "vsys"; 31 regulator-min-microvolt = <500 31 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <500 32 regulator-max-microvolt = <5000000>; 33 regulator-boot-on; 33 regulator-boot-on; 34 }; 34 }; 35 }; 35 }; 36 36 37 &cpu0 { 37 &cpu0 { 38 cpu-supply = <&vdd_core>; 38 cpu-supply = <&vdd_core>; 39 }; 39 }; 40 40 41 &emmc { 41 &emmc { 42 bus-width = <8>; 42 bus-width = <8>; 43 cap-mmc-highspeed; 43 cap-mmc-highspeed; 44 no-sd; 44 no-sd; 45 no-sdio; 45 no-sdio; 46 non-removable; 46 non-removable; 47 mmc-ddr-1_8v; 47 mmc-ddr-1_8v; 48 mmc-hs200-1_8v; 48 mmc-hs200-1_8v; 49 pinctrl-names = "default"; 49 pinctrl-names = "default"; 50 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc 50 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 51 status = "okay"; 51 status = "okay"; 52 }; 52 }; 53 53 54 &gmac { 54 &gmac { 55 clock_in_out = "output"; 55 clock_in_out = "output"; 56 pinctrl-names = "default"; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&rmii_pins>; 57 pinctrl-0 = <&rmii_pins>; 58 snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ 58 snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>; 59 snps,reset-active-low; 59 snps,reset-active-low; 60 status = "okay"; 60 status = "okay"; 61 }; 61 }; 62 62 63 &i2c0 { 63 &i2c0 { 64 clock-frequency = <400000>; 64 clock-frequency = <400000>; 65 i2c-scl-rising-time-ns = <275>; 65 i2c-scl-rising-time-ns = <275>; 66 i2c-scl-falling-time-ns = <16>; 66 i2c-scl-falling-time-ns = <16>; 67 status = "okay"; 67 status = "okay"; 68 68 69 rk805: pmic@18 { 69 rk805: pmic@18 { 70 compatible = "rockchip,rk805"; 70 compatible = "rockchip,rk805"; 71 reg = <0x18>; 71 reg = <0x18>; 72 interrupt-parent = <&gpio0>; 72 interrupt-parent = <&gpio0>; 73 interrupts = <RK_PB4 IRQ_TYPE_ 73 interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>; 74 rockchip,system-power-controll 74 rockchip,system-power-controller; 75 #clock-cells = <0>; 75 #clock-cells = <0>; 76 76 77 vcc1-supply = <&vcc_sys>; 77 vcc1-supply = <&vcc_sys>; 78 vcc2-supply = <&vcc_sys>; 78 vcc2-supply = <&vcc_sys>; 79 vcc3-supply = <&vcc_sys>; 79 vcc3-supply = <&vcc_sys>; 80 vcc4-supply = <&vcc_sys>; 80 vcc4-supply = <&vcc_sys>; 81 vcc5-supply = <&vdd_buck2>; 81 vcc5-supply = <&vdd_buck2>; 82 vcc6-supply = <&vdd_buck2>; 82 vcc6-supply = <&vdd_buck2>; 83 83 84 regulators { 84 regulators { 85 vdd_core: DCDC_REG1 { 85 vdd_core: DCDC_REG1 { 86 regulator-name 86 regulator-name = "vdd_core"; 87 regulator-min- 87 regulator-min-microvolt = <700000>; 88 regulator-max- 88 regulator-max-microvolt = <1500000>; 89 regulator-alwa 89 regulator-always-on; 90 regulator-boot 90 regulator-boot-on; 91 regulator-stat 91 regulator-state-mem { 92 regula 92 regulator-on-in-suspend; 93 regula 93 regulator-suspend-microvolt = <900000>; 94 }; 94 }; 95 }; 95 }; 96 96 97 vdd_buck2: DCDC_REG2 { 97 vdd_buck2: DCDC_REG2 { 98 regulator-name 98 regulator-name = "vdd_buck2"; 99 regulator-min- 99 regulator-min-microvolt = <2200000>; 100 regulator-max- 100 regulator-max-microvolt = <2200000>; 101 regulator-alwa 101 regulator-always-on; 102 regulator-boot 102 regulator-boot-on; 103 regulator-stat 103 regulator-state-mem { 104 regula 104 regulator-off-in-suspend; 105 }; 105 }; 106 }; 106 }; 107 107 108 vcc_ddr: DCDC_REG3 { 108 vcc_ddr: DCDC_REG3 { 109 regulator-name 109 regulator-name = "vcc_ddr"; 110 regulator-alwa 110 regulator-always-on; 111 regulator-boot 111 regulator-boot-on; 112 regulator-stat 112 regulator-state-mem { 113 regula 113 regulator-on-in-suspend; 114 }; 114 }; 115 }; 115 }; 116 116 117 vcc_io: DCDC_REG4 { 117 vcc_io: DCDC_REG4 { 118 regulator-name 118 regulator-name = "vcc_io"; 119 regulator-min- 119 regulator-min-microvolt = <3300000>; 120 regulator-max- 120 regulator-max-microvolt = <3300000>; 121 regulator-alwa 121 regulator-always-on; 122 regulator-boot 122 regulator-boot-on; 123 regulator-stat 123 regulator-state-mem { 124 regula 124 regulator-on-in-suspend; 125 regula 125 regulator-suspend-microvolt = <3300000>; 126 }; 126 }; 127 }; 127 }; 128 128 129 vdd_10: LDO_REG1 { 129 vdd_10: LDO_REG1 { 130 regulator-name 130 regulator-name = "vdd_10"; 131 regulator-min- 131 regulator-min-microvolt = <1000000>; 132 regulator-max- 132 regulator-max-microvolt = <1000000>; 133 regulator-alwa 133 regulator-always-on; 134 regulator-boot 134 regulator-boot-on; 135 regulator-stat 135 regulator-state-mem { 136 regula 136 regulator-off-in-suspend; 137 }; 137 }; 138 }; 138 }; 139 139 140 vcc_18: LDO_REG2 { 140 vcc_18: LDO_REG2 { 141 regulator-name 141 regulator-name = "vcc_18"; 142 regulator-min- 142 regulator-min-microvolt = <1800000>; 143 regulator-max- 143 regulator-max-microvolt = <1800000>; 144 regulator-alwa 144 regulator-always-on; 145 regulator-boot 145 regulator-boot-on; 146 regulator-stat 146 regulator-state-mem { 147 regula 147 regulator-off-in-suspend; 148 }; 148 }; 149 }; 149 }; 150 150 151 vdd10_pmu: LDO_REG3 { 151 vdd10_pmu: LDO_REG3 { 152 regulator-name 152 regulator-name = "vdd10_pmu"; 153 regulator-min- 153 regulator-min-microvolt = <1000000>; 154 regulator-max- 154 regulator-max-microvolt = <1000000>; 155 regulator-alwa 155 regulator-always-on; 156 regulator-boot 156 regulator-boot-on; 157 regulator-stat 157 regulator-state-mem { 158 regula 158 regulator-on-in-suspend; 159 regula 159 regulator-suspend-microvolt = <1000000>; 160 }; 160 }; 161 }; 161 }; 162 }; 162 }; 163 }; 163 }; 164 }; 164 }; 165 165 166 &spi { 166 &spi { 167 pinctrl-names = "default"; 167 pinctrl-names = "default"; 168 pinctrl-0 = <&spim1_clk &spim1_cs0 &sp 168 pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>; 169 status = "okay"; 169 status = "okay"; 170 170 171 display: display@0 { 171 display: display@0 { 172 compatible = "elgin,jg10309-01 172 compatible = "elgin,jg10309-01"; 173 reg = <0>; 173 reg = <0>; 174 spi-max-frequency = <24000000> 174 spi-max-frequency = <24000000>; 175 spi-cpha; 175 spi-cpha; 176 spi-cpol; 176 spi-cpol; 177 }; 177 }; 178 }; 178 }; 179 179 180 &u2phy { 180 &u2phy { 181 status = "okay"; 181 status = "okay"; 182 182 183 u2phy_host: host-port { 183 u2phy_host: host-port { 184 status = "okay"; 184 status = "okay"; 185 }; 185 }; 186 186 187 u2phy_otg: otg-port { 187 u2phy_otg: otg-port { 188 status = "okay"; 188 status = "okay"; 189 }; 189 }; 190 }; 190 }; 191 191 192 &uart0 { 192 &uart0 { 193 pinctrl-names = "default"; 193 pinctrl-names = "default"; 194 pinctrl-0 = <&uart0_xfer>; 194 pinctrl-0 = <&uart0_xfer>; 195 status = "okay"; 195 status = "okay"; 196 }; 196 }; 197 197 198 &uart2 { 198 &uart2 { 199 status = "okay"; 199 status = "okay"; 200 }; 200 }; 201 201 202 &usb_host_ehci { 202 &usb_host_ehci { 203 status = "okay"; 203 status = "okay"; 204 }; 204 }; 205 205 206 &usb_host_ohci { 206 &usb_host_ohci { 207 status = "okay"; 207 status = "okay"; 208 }; 208 }; 209 209 210 &usb_otg { 210 &usb_otg { 211 status = "okay"; 211 status = "okay"; 212 }; 212 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.