1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2019 3 * Copyright (C) 2019 4 * Author(s): Giulio Benetti <giulio.benetti@be 4 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> 5 */ 5 */ 6 6 7 #include "../../armv7-m.dtsi" 7 #include "../../armv7-m.dtsi" 8 #include <dt-bindings/interrupt-controller/arm 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/imxrt1050-clock.h> 9 #include <dt-bindings/clock/imxrt1050-clock.h> 10 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 11 11 12 / { 12 / { 13 #address-cells = <1>; 13 #address-cells = <1>; 14 #size-cells = <1>; 14 #size-cells = <1>; 15 15 16 clocks { 16 clocks { 17 osc: osc { 17 osc: osc { 18 compatible = "fixed-cl 18 compatible = "fixed-clock"; 19 #clock-cells = <0>; 19 #clock-cells = <0>; 20 clock-frequency = <240 20 clock-frequency = <24000000>; 21 }; 21 }; 22 22 23 osc3M: osc3M { 23 osc3M: osc3M { 24 compatible = "fixed-cl 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 25 #clock-cells = <0>; 26 clock-frequency = <300 26 clock-frequency = <3000000>; 27 }; 27 }; 28 }; 28 }; 29 29 30 soc { 30 soc { 31 lpuart1: serial@40184000 { 31 lpuart1: serial@40184000 { 32 compatible = "fsl,imxr 32 compatible = "fsl,imxrt1050-lpuart", "fsl,imx7ulp-lpuart"; 33 reg = <0x40184000 0x40 33 reg = <0x40184000 0x4000>; 34 interrupts = <20>; 34 interrupts = <20>; 35 clocks = <&clks IMXRT1 35 clocks = <&clks IMXRT1050_CLK_LPUART1>; 36 clock-names = "ipg"; 36 clock-names = "ipg"; 37 status = "disabled"; 37 status = "disabled"; 38 }; 38 }; 39 39 40 iomuxc: pinctrl@401f8000 { 40 iomuxc: pinctrl@401f8000 { 41 compatible = "fsl,imxr 41 compatible = "fsl,imxrt1050-iomuxc"; 42 reg = <0x401f8000 0x40 42 reg = <0x401f8000 0x4000>; 43 fsl,mux_mask = <0x7>; 43 fsl,mux_mask = <0x7>; 44 }; 44 }; 45 45 46 anatop: anatop@400d8000 { 46 anatop: anatop@400d8000 { 47 compatible = "fsl,imxr 47 compatible = "fsl,imxrt-anatop"; 48 reg = <0x400d8000 0x40 48 reg = <0x400d8000 0x4000>; 49 }; 49 }; 50 50 51 clks: clock-controller@400fc00 51 clks: clock-controller@400fc000 { 52 compatible = "fsl,imxr 52 compatible = "fsl,imxrt1050-ccm"; 53 reg = <0x400fc000 0x40 53 reg = <0x400fc000 0x4000>; 54 interrupts = <95>, <96 54 interrupts = <95>, <96>; 55 clocks = <&osc>; 55 clocks = <&osc>; 56 clock-names = "osc"; 56 clock-names = "osc"; 57 #clock-cells = <1>; 57 #clock-cells = <1>; 58 assigned-clocks = <&cl 58 assigned-clocks = <&clks IMXRT1050_CLK_PLL1_BYPASS>, 59 <&clks IMXRT10 59 <&clks IMXRT1050_CLK_PLL1_BYPASS>, 60 <&clks IMXRT10 60 <&clks IMXRT1050_CLK_PLL2_BYPASS>, 61 <&clks IMXRT10 61 <&clks IMXRT1050_CLK_PLL3_BYPASS>, 62 <&clks IMXRT10 62 <&clks IMXRT1050_CLK_PLL3_PFD1_664_62M>, 63 <&clks IMXRT10 63 <&clks IMXRT1050_CLK_PLL2_PFD2_396M>; 64 assigned-clock-parents 64 assigned-clock-parents = <&clks IMXRT1050_CLK_PLL1_REF_SEL>, 65 <&clks IMXRT10 65 <&clks IMXRT1050_CLK_PLL1_ARM>, 66 <&clks IMXRT10 66 <&clks IMXRT1050_CLK_PLL2_SYS>, 67 <&clks IMXRT10 67 <&clks IMXRT1050_CLK_PLL3_USB_OTG>, 68 <&clks IMXRT10 68 <&clks IMXRT1050_CLK_PLL3_USB_OTG>, 69 <&clks IMXRT10 69 <&clks IMXRT1050_CLK_PLL2_SYS>; 70 }; 70 }; 71 71 72 edma1: dma-controller@400e8000 72 edma1: dma-controller@400e8000 { 73 #dma-cells = <2>; 73 #dma-cells = <2>; 74 compatible = "fsl,imx7 74 compatible = "fsl,imx7ulp-edma"; 75 reg = <0x400e8000 0x40 75 reg = <0x400e8000 0x4000>, 76 <0x400ec000 0x 76 <0x400ec000 0x4000>; 77 dma-channels = <32>; 77 dma-channels = <32>; 78 interrupts = <0>, <1>, 78 interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, 79 <9>, <10>, <11 79 <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>; 80 clock-names = "dma", " 80 clock-names = "dma", "dmamux0"; 81 clocks = <&clks IMXRT1 81 clocks = <&clks IMXRT1050_CLK_DMA>, 82 <&clks IMXRT1 82 <&clks IMXRT1050_CLK_DMA_MUX>; 83 }; 83 }; 84 84 85 usdhc1: mmc@402c0000 { 85 usdhc1: mmc@402c0000 { 86 compatible = "fsl,imxr 86 compatible = "fsl,imxrt1050-usdhc", "fsl,imx6sl-usdhc"; 87 reg = <0x402c0000 0x40 87 reg = <0x402c0000 0x4000>; 88 interrupts = <110>; 88 interrupts = <110>; 89 clocks = <&clks IMXRT1 89 clocks = <&clks IMXRT1050_CLK_IPG_PDOF>, 90 <&clks IMXRT10 90 <&clks IMXRT1050_CLK_OSC>, 91 <&clks IMXRT10 91 <&clks IMXRT1050_CLK_USDHC1>; 92 clock-names = "ipg", " 92 clock-names = "ipg", "ahb", "per"; 93 bus-width = <4>; 93 bus-width = <4>; 94 fsl,wp-controller; 94 fsl,wp-controller; 95 no-1-8-v; 95 no-1-8-v; 96 max-frequency = <20000 96 max-frequency = <200000000>; 97 fsl,tuning-start-tap = 97 fsl,tuning-start-tap = <20>; 98 fsl,tuning-step = <2>; 98 fsl,tuning-step = <2>; 99 status = "disabled"; 99 status = "disabled"; 100 }; 100 }; 101 101 102 gpio1: gpio@401b8000 { 102 gpio1: gpio@401b8000 { 103 compatible = "fsl,imxr 103 compatible = "fsl,imxrt1050-gpio", "fsl,imx35-gpio"; 104 reg = <0x401b8000 0x40 104 reg = <0x401b8000 0x4000>; 105 interrupts = <80>, <81 105 interrupts = <80>, <81>; 106 gpio-controller; 106 gpio-controller; 107 #gpio-cells = <2>; 107 #gpio-cells = <2>; 108 interrupt-controller; 108 interrupt-controller; 109 #interrupt-cells = <2> 109 #interrupt-cells = <2>; 110 }; 110 }; 111 111 112 gpio2: gpio@401bc000 { 112 gpio2: gpio@401bc000 { 113 compatible = "fsl,imxr 113 compatible = "fsl,imxrt1050-gpio", "fsl,imx35-gpio"; 114 reg = <0x401bc000 0x40 114 reg = <0x401bc000 0x4000>; 115 interrupts = <82>, <83 115 interrupts = <82>, <83>; 116 gpio-controller; 116 gpio-controller; 117 #gpio-cells = <2>; 117 #gpio-cells = <2>; 118 interrupt-controller; 118 interrupt-controller; 119 #interrupt-cells = <2> 119 #interrupt-cells = <2>; 120 }; 120 }; 121 121 122 gpio3: gpio@401c0000 { 122 gpio3: gpio@401c0000 { 123 compatible = "fsl,imxr 123 compatible = "fsl,imxrt1050-gpio", "fsl,imx35-gpio"; 124 reg = <0x401c0000 0x40 124 reg = <0x401c0000 0x4000>; 125 interrupts = <84>, <85 125 interrupts = <84>, <85>; 126 gpio-controller; 126 gpio-controller; 127 #gpio-cells = <2>; 127 #gpio-cells = <2>; 128 interrupt-controller; 128 interrupt-controller; 129 #interrupt-cells = <2> 129 #interrupt-cells = <2>; 130 }; 130 }; 131 131 132 gpio4: gpio@401c4000 { 132 gpio4: gpio@401c4000 { 133 compatible = "fsl,imxr 133 compatible = "fsl,imxrt1050-gpio", "fsl,imx35-gpio"; 134 reg = <0x401c4000 0x40 134 reg = <0x401c4000 0x4000>; 135 interrupts = <86>, <87 135 interrupts = <86>, <87>; 136 gpio-controller; 136 gpio-controller; 137 #gpio-cells = <2>; 137 #gpio-cells = <2>; 138 interrupt-controller; 138 interrupt-controller; 139 #interrupt-cells = <2> 139 #interrupt-cells = <2>; 140 }; 140 }; 141 141 142 gpio5: gpio@400c0000 { 142 gpio5: gpio@400c0000 { 143 compatible = "fsl,imxr 143 compatible = "fsl,imxrt1050-gpio", "fsl,imx35-gpio"; 144 reg = <0x400c0000 0x40 144 reg = <0x400c0000 0x4000>; 145 interrupts = <88>, <89 145 interrupts = <88>, <89>; 146 gpio-controller; 146 gpio-controller; 147 #gpio-cells = <2>; 147 #gpio-cells = <2>; 148 interrupt-controller; 148 interrupt-controller; 149 #interrupt-cells = <2> 149 #interrupt-cells = <2>; 150 }; 150 }; 151 151 152 gpt: timer@401ec000 { 152 gpt: timer@401ec000 { 153 compatible = "fsl,imxr 153 compatible = "fsl,imxrt1050-gpt", "fsl,imx6dl-gpt", "fsl,imx6sl-gpt"; 154 reg = <0x401ec000 0x40 154 reg = <0x401ec000 0x4000>; 155 interrupts = <100>; 155 interrupts = <100>; 156 clocks = <&osc3M>; 156 clocks = <&osc3M>; 157 clock-names = "per"; 157 clock-names = "per"; 158 }; 158 }; 159 }; 159 }; 160 }; 160 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.