1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technolog 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 3 3 4 /dts-v1/; 4 /dts-v1/; 5 5 6 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include "mpfs.dtsi" 7 #include "mpfs.dtsi" 8 #include "mpfs-beaglev-fire-fabric.dtsi" 8 #include "mpfs-beaglev-fire-fabric.dtsi" 9 9 10 /* Clock frequency (in Hz) of MTIMER */ 10 /* Clock frequency (in Hz) of MTIMER */ 11 #define MTIMER_FREQ 1000000 11 #define MTIMER_FREQ 1000000 12 12 13 / { 13 / { 14 #address-cells = <2>; 14 #address-cells = <2>; 15 #size-cells = <2>; 15 #size-cells = <2>; 16 model = "BeagleBoard BeagleV-Fire"; 16 model = "BeagleBoard BeagleV-Fire"; 17 compatible = "beagle,beaglev-fire", "m 17 compatible = "beagle,beaglev-fire", "microchip,mpfs"; 18 18 19 aliases { 19 aliases { 20 serial0 = &mmuart0; 20 serial0 = &mmuart0; 21 serial1 = &mmuart1; 21 serial1 = &mmuart1; 22 serial2 = &mmuart2; 22 serial2 = &mmuart2; 23 serial3 = &mmuart3; 23 serial3 = &mmuart3; 24 serial4 = &mmuart4; 24 serial4 = &mmuart4; 25 }; 25 }; 26 26 27 chosen { 27 chosen { 28 stdout-path = "serial0:115200n 28 stdout-path = "serial0:115200n8"; 29 }; 29 }; 30 30 31 cpus { 31 cpus { 32 timebase-frequency = <MTIMER_F 32 timebase-frequency = <MTIMER_FREQ>; 33 }; 33 }; 34 34 35 ddrc_cache_lo: memory@80000000 { 35 ddrc_cache_lo: memory@80000000 { 36 device_type = "memory"; 36 device_type = "memory"; 37 reg = <0x0 0x80000000 0x0 0x40 37 reg = <0x0 0x80000000 0x0 0x40000000>; 38 status = "okay"; 38 status = "okay"; 39 }; 39 }; 40 40 41 reserved-memory { 41 reserved-memory { 42 #address-cells = <2>; 42 #address-cells = <2>; 43 #size-cells = <2>; 43 #size-cells = <2>; 44 ranges; 44 ranges; 45 45 46 hss: hss-buffer@103fc00000 { 46 hss: hss-buffer@103fc00000 { 47 compatible = "shared-d 47 compatible = "shared-dma-pool"; 48 reg = <0x10 0x3fc00000 48 reg = <0x10 0x3fc00000 0x0 0x400000>; 49 no-map; 49 no-map; 50 }; 50 }; 51 }; 51 }; 52 52 53 imx219_clk: camera-clk { 53 imx219_clk: camera-clk { 54 compatible = "fixed-clock"; 54 compatible = "fixed-clock"; 55 #clock-cells = <0>; 55 #clock-cells = <0>; 56 clock-frequency = <24000000>; 56 clock-frequency = <24000000>; 57 }; 57 }; 58 58 59 imx219_vana: fixedregulator-0 { 59 imx219_vana: fixedregulator-0 { 60 compatible = "regulator-fixed" 60 compatible = "regulator-fixed"; 61 regulator-name = "imx219_vana" 61 regulator-name = "imx219_vana"; 62 regulator-min-microvolt = <280 62 regulator-min-microvolt = <2800000>; 63 regulator-max-microvolt = <280 63 regulator-max-microvolt = <2800000>; 64 }; 64 }; 65 65 66 imx219_vdig: fixedregulator-1 { 66 imx219_vdig: fixedregulator-1 { 67 compatible = "regulator-fixed" 67 compatible = "regulator-fixed"; 68 regulator-name = "imx219_vdig" 68 regulator-name = "imx219_vdig"; 69 regulator-min-microvolt = <180 69 regulator-min-microvolt = <1800000>; 70 regulator-max-microvolt = <180 70 regulator-max-microvolt = <1800000>; 71 }; 71 }; 72 72 73 imx219_vddl: fixedregulator-2 { 73 imx219_vddl: fixedregulator-2 { 74 compatible = "regulator-fixed" 74 compatible = "regulator-fixed"; 75 regulator-name = "imx219_vddl" 75 regulator-name = "imx219_vddl"; 76 regulator-min-microvolt = <120 76 regulator-min-microvolt = <1200000>; 77 regulator-max-microvolt = <120 77 regulator-max-microvolt = <1200000>; 78 }; 78 }; 79 79 80 }; 80 }; 81 81 82 &gpio2 { 82 &gpio2 { 83 interrupts = <53>, <53>, <53>, <53>, 83 interrupts = <53>, <53>, <53>, <53>, 84 <53>, <53>, <53>, <53>, 84 <53>, <53>, <53>, <53>, 85 <53>, <53>, <53>, <53>, 85 <53>, <53>, <53>, <53>, 86 <53>, <53>, <53>, <53>, 86 <53>, <53>, <53>, <53>, 87 <53>, <53>, <53>, <53>, 87 <53>, <53>, <53>, <53>, 88 <53>, <53>, <53>, <53>, 88 <53>, <53>, <53>, <53>, 89 <53>, <53>, <53>, <53>, 89 <53>, <53>, <53>, <53>, 90 <53>, <53>, <53>, <53>; 90 <53>, <53>, <53>, <53>; 91 ngpios=<32>; 91 ngpios=<32>; 92 gpio-line-names = "P8_PIN3_USER_LED_0" 92 gpio-line-names = "P8_PIN3_USER_LED_0", "P8_PIN4_USER_LED_1", "P8_PIN5_USER_LED_2", 93 "P8_PIN6_USER_LED_3" 93 "P8_PIN6_USER_LED_3", "P8_PIN7_USER_LED_4", "P8_PIN8_USER_LED_5", 94 "P8_PIN9_USER_LED_6" 94 "P8_PIN9_USER_LED_6", "P8_PIN10_USER_LED_7", "P8_PIN11_USER_LED_8", 95 "P8_PIN12_USER_LED_9 95 "P8_PIN12_USER_LED_9", "P8_PIN13_USER_LED_10", "P8_PIN14_USER_LED_11", 96 "P8_PIN15", "P8_PIN1 96 "P8_PIN15", "P8_PIN16", "P8_PIN17", "P8_PIN18", "P8_PIN19", "P8_PIN20", 97 "P8_PIN21", "P8_PIN2 97 "P8_PIN21", "P8_PIN22", "P8_PIN23", "P8_PIN24", "P8_PIN25", "P8_PIN26", 98 "P8_PIN27", "P8_PIN2 98 "P8_PIN27", "P8_PIN28", "P8_PIN29", "P8_PIN30", "M2_W_DISABLE1", 99 "M2_W_DISABLE2", "VI 99 "M2_W_DISABLE2", "VIO_ENABLE", "SD_DET"; 100 status = "okay"; 100 status = "okay"; 101 101 102 vio-enable-hog { 102 vio-enable-hog { 103 gpio-hog; 103 gpio-hog; 104 gpios = <30 30>; 104 gpios = <30 30>; 105 output-high; 105 output-high; 106 line-name = "VIO_ENABLE"; 106 line-name = "VIO_ENABLE"; 107 }; 107 }; 108 108 109 sd-det-hog { 109 sd-det-hog { 110 gpio-hog; 110 gpio-hog; 111 gpios = <31 31>; 111 gpios = <31 31>; 112 input; 112 input; 113 line-name = "SD_DET"; 113 line-name = "SD_DET"; 114 }; 114 }; 115 }; 115 }; 116 116 117 &i2c0 { 117 &i2c0 { 118 status = "okay"; 118 status = "okay"; 119 }; 119 }; 120 120 121 &i2c1 { 121 &i2c1 { 122 status = "okay"; 122 status = "okay"; 123 123 124 eeprom: eeprom@50 { 124 eeprom: eeprom@50 { 125 compatible = "atmel,24c32"; 125 compatible = "atmel,24c32"; 126 reg = <0x50>; 126 reg = <0x50>; 127 }; 127 }; 128 128 129 imx219: sensor@10 { 129 imx219: sensor@10 { 130 compatible = "sony,imx219"; 130 compatible = "sony,imx219"; 131 reg = <0x10>; 131 reg = <0x10>; 132 clocks = <&imx219_clk>; 132 clocks = <&imx219_clk>; 133 VANA-supply = <&imx219_vana>; 133 VANA-supply = <&imx219_vana>; /* 2.8v */ 134 VDIG-supply = <&imx219_vdig>; 134 VDIG-supply = <&imx219_vdig>; /* 1.8v */ 135 VDDL-supply = <&imx219_vddl>; 135 VDDL-supply = <&imx219_vddl>; /* 1.2v */ 136 136 137 port { 137 port { 138 imx219_0: endpoint { 138 imx219_0: endpoint { 139 data-lanes = < 139 data-lanes = <1 2>; 140 clock-nonconti 140 clock-noncontinuous; 141 link-frequenci 141 link-frequencies = /bits/ 64 <456000000>; 142 }; 142 }; 143 }; 143 }; 144 }; 144 }; 145 }; 145 }; 146 146 147 &mac0 { 147 &mac0 { 148 status = "okay"; 148 status = "okay"; 149 phy-mode = "sgmii"; 149 phy-mode = "sgmii"; 150 phy-handle = <&phy0>; 150 phy-handle = <&phy0>; 151 phy0: ethernet-phy@0 { 151 phy0: ethernet-phy@0 { 152 reg = <0>; 152 reg = <0>; 153 }; 153 }; 154 }; 154 }; 155 155 156 &mbox { 156 &mbox { 157 status = "okay"; 157 status = "okay"; 158 }; 158 }; 159 159 160 &mmc { 160 &mmc { 161 bus-width = <4>; 161 bus-width = <4>; 162 disable-wp; 162 disable-wp; 163 cap-sd-highspeed; 163 cap-sd-highspeed; 164 cap-mmc-highspeed; 164 cap-mmc-highspeed; 165 mmc-ddr-1_8v; 165 mmc-ddr-1_8v; 166 mmc-hs200-1_8v; 166 mmc-hs200-1_8v; 167 sd-uhs-sdr12; 167 sd-uhs-sdr12; 168 sd-uhs-sdr25; 168 sd-uhs-sdr25; 169 sd-uhs-sdr50; 169 sd-uhs-sdr50; 170 sd-uhs-sdr104; 170 sd-uhs-sdr104; 171 status = "okay"; 171 status = "okay"; 172 }; 172 }; 173 173 174 &mmuart0 { 174 &mmuart0 { 175 status = "okay"; 175 status = "okay"; 176 }; 176 }; 177 177 178 &mmuart1 { 178 &mmuart1 { 179 status = "okay"; 179 status = "okay"; 180 }; 180 }; 181 181 182 &refclk { 182 &refclk { 183 clock-frequency = <125000000>; 183 clock-frequency = <125000000>; 184 }; 184 }; 185 185 186 &refclk_ccc { 186 &refclk_ccc { 187 clock-frequency = <50000000>; 187 clock-frequency = <50000000>; 188 }; 188 }; 189 189 190 &rtc { 190 &rtc { 191 status = "okay"; 191 status = "okay"; 192 }; 192 }; 193 193 194 &spi0 { 194 &spi0 { 195 status = "okay"; 195 status = "okay"; 196 }; 196 }; 197 197 198 &spi1 { 198 &spi1 { 199 status = "okay"; 199 status = "okay"; 200 }; 200 }; 201 201 202 &syscontroller { 202 &syscontroller { 203 microchip,bitstream-flash = <&sys_ctrl 203 microchip,bitstream-flash = <&sys_ctrl_flash>; 204 status = "okay"; 204 status = "okay"; 205 }; 205 }; 206 206 207 &syscontroller_qspi { 207 &syscontroller_qspi { 208 status = "okay"; 208 status = "okay"; 209 209 210 sys_ctrl_flash: flash@0 { // MT25QL01G 210 sys_ctrl_flash: flash@0 { // MT25QL01GBBB8ESF-0SIT 211 compatible = "jedec,spi-nor"; 211 compatible = "jedec,spi-nor"; 212 #address-cells = <1>; 212 #address-cells = <1>; 213 #size-cells = <1>; 213 #size-cells = <1>; 214 spi-max-frequency = <20000000> 214 spi-max-frequency = <20000000>; 215 spi-rx-bus-width = <1>; 215 spi-rx-bus-width = <1>; 216 reg = <0>; 216 reg = <0>; 217 }; 217 }; 218 }; 218 }; 219 219 220 &usb { 220 &usb { 221 status = "okay"; 221 status = "okay"; 222 dr_mode = "otg"; 222 dr_mode = "otg"; 223 }; 223 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.