imx8-ss-dma.dtsi (5936B)
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright 2018-2019 NXP 4 * Dong Aisheng <aisheng.dong@nxp.com> 5 */ 6 7#include <dt-bindings/clock/imx8-lpcg.h> 8#include <dt-bindings/firmware/imx/rsrc.h> 9 10dma_subsys: bus@5a000000 { 11 compatible = "simple-bus"; 12 #address-cells = <1>; 13 #size-cells = <1>; 14 ranges = <0x5a000000 0x0 0x5a000000 0x1000000>; 15 16 dma_ipg_clk: clock-dma-ipg { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 clock-frequency = <120000000>; 20 clock-output-names = "dma_ipg_clk"; 21 }; 22 23 lpuart0: serial@5a060000 { 24 reg = <0x5a060000 0x1000>; 25 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; 26 clocks = <&uart0_lpcg IMX_LPCG_CLK_4>, 27 <&uart0_lpcg IMX_LPCG_CLK_0>; 28 clock-names = "ipg", "baud"; 29 power-domains = <&pd IMX_SC_R_UART_0>; 30 status = "disabled"; 31 }; 32 33 lpuart1: serial@5a070000 { 34 reg = <0x5a070000 0x1000>; 35 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 36 clocks = <&uart1_lpcg IMX_LPCG_CLK_4>, 37 <&uart1_lpcg IMX_LPCG_CLK_0>; 38 clock-names = "ipg", "baud"; 39 power-domains = <&pd IMX_SC_R_UART_1>; 40 status = "disabled"; 41 }; 42 43 lpuart2: serial@5a080000 { 44 reg = <0x5a080000 0x1000>; 45 interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 46 clocks = <&uart2_lpcg IMX_LPCG_CLK_4>, 47 <&uart2_lpcg IMX_LPCG_CLK_0>; 48 clock-names = "ipg", "baud"; 49 power-domains = <&pd IMX_SC_R_UART_2>; 50 status = "disabled"; 51 }; 52 53 lpuart3: serial@5a090000 { 54 reg = <0x5a090000 0x1000>; 55 interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; 56 clocks = <&uart3_lpcg IMX_LPCG_CLK_4>, 57 <&uart3_lpcg IMX_LPCG_CLK_0>; 58 clock-names = "ipg", "baud"; 59 power-domains = <&pd IMX_SC_R_UART_3>; 60 status = "disabled"; 61 }; 62 63 uart0_lpcg: clock-controller@5a460000 { 64 compatible = "fsl,imx8qxp-lpcg"; 65 reg = <0x5a460000 0x10000>; 66 #clock-cells = <1>; 67 clocks = <&clk IMX_SC_R_UART_0 IMX_SC_PM_CLK_PER>, 68 <&dma_ipg_clk>; 69 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 70 clock-output-names = "uart0_lpcg_baud_clk", 71 "uart0_lpcg_ipg_clk"; 72 power-domains = <&pd IMX_SC_R_UART_0>; 73 }; 74 75 uart1_lpcg: clock-controller@5a470000 { 76 compatible = "fsl,imx8qxp-lpcg"; 77 reg = <0x5a470000 0x10000>; 78 #clock-cells = <1>; 79 clocks = <&clk IMX_SC_R_UART_1 IMX_SC_PM_CLK_PER>, 80 <&dma_ipg_clk>; 81 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 82 clock-output-names = "uart1_lpcg_baud_clk", 83 "uart1_lpcg_ipg_clk"; 84 power-domains = <&pd IMX_SC_R_UART_1>; 85 }; 86 87 uart2_lpcg: clock-controller@5a480000 { 88 compatible = "fsl,imx8qxp-lpcg"; 89 reg = <0x5a480000 0x10000>; 90 #clock-cells = <1>; 91 clocks = <&clk IMX_SC_R_UART_2 IMX_SC_PM_CLK_PER>, 92 <&dma_ipg_clk>; 93 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 94 clock-output-names = "uart2_lpcg_baud_clk", 95 "uart2_lpcg_ipg_clk"; 96 power-domains = <&pd IMX_SC_R_UART_2>; 97 }; 98 99 uart3_lpcg: clock-controller@5a490000 { 100 compatible = "fsl,imx8qxp-lpcg"; 101 reg = <0x5a490000 0x10000>; 102 #clock-cells = <1>; 103 clocks = <&clk IMX_SC_R_UART_3 IMX_SC_PM_CLK_PER>, 104 <&dma_ipg_clk>; 105 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 106 clock-output-names = "uart3_lpcg_baud_clk", 107 "uart3_lpcg_ipg_clk"; 108 power-domains = <&pd IMX_SC_R_UART_3>; 109 }; 110 111 i2c0: i2c@5a800000 { 112 reg = <0x5a800000 0x4000>; 113 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; 114 clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>; 115 clock-names = "per"; 116 assigned-clocks = <&clk IMX_SC_R_I2C_0 IMX_SC_PM_CLK_PER>; 117 assigned-clock-rates = <24000000>; 118 power-domains = <&pd IMX_SC_R_I2C_0>; 119 status = "disabled"; 120 }; 121 122 i2c1: i2c@5a810000 { 123 reg = <0x5a810000 0x4000>; 124 interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 125 clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>; 126 clock-names = "per"; 127 assigned-clocks = <&clk IMX_SC_R_I2C_1 IMX_SC_PM_CLK_PER>; 128 assigned-clock-rates = <24000000>; 129 power-domains = <&pd IMX_SC_R_I2C_1>; 130 status = "disabled"; 131 }; 132 133 i2c2: i2c@5a820000 { 134 reg = <0x5a820000 0x4000>; 135 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>; 136 clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>; 137 clock-names = "per"; 138 assigned-clocks = <&clk IMX_SC_R_I2C_2 IMX_SC_PM_CLK_PER>; 139 assigned-clock-rates = <24000000>; 140 power-domains = <&pd IMX_SC_R_I2C_2>; 141 status = "disabled"; 142 }; 143 144 i2c3: i2c@5a830000 { 145 reg = <0x5a830000 0x4000>; 146 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 147 clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>; 148 clock-names = "per"; 149 assigned-clocks = <&clk IMX_SC_R_I2C_3 IMX_SC_PM_CLK_PER>; 150 assigned-clock-rates = <24000000>; 151 power-domains = <&pd IMX_SC_R_I2C_3>; 152 status = "disabled"; 153 }; 154 155 i2c0_lpcg: clock-controller@5ac00000 { 156 compatible = "fsl,imx8qxp-lpcg"; 157 reg = <0x5ac00000 0x10000>; 158 #clock-cells = <1>; 159 clocks = <&clk IMX_SC_R_I2C_0 IMX_SC_PM_CLK_PER>, 160 <&dma_ipg_clk>; 161 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 162 clock-output-names = "i2c0_lpcg_clk", 163 "i2c0_lpcg_ipg_clk"; 164 power-domains = <&pd IMX_SC_R_I2C_0>; 165 }; 166 167 i2c1_lpcg: clock-controller@5ac10000 { 168 compatible = "fsl,imx8qxp-lpcg"; 169 reg = <0x5ac10000 0x10000>; 170 #clock-cells = <1>; 171 clocks = <&clk IMX_SC_R_I2C_1 IMX_SC_PM_CLK_PER>, 172 <&dma_ipg_clk>; 173 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 174 clock-output-names = "i2c1_lpcg_clk", 175 "i2c1_lpcg_ipg_clk"; 176 power-domains = <&pd IMX_SC_R_I2C_1>; 177 }; 178 179 i2c2_lpcg: clock-controller@5ac20000 { 180 compatible = "fsl,imx8qxp-lpcg"; 181 reg = <0x5ac20000 0x10000>; 182 #clock-cells = <1>; 183 clocks = <&clk IMX_SC_R_I2C_2 IMX_SC_PM_CLK_PER>, 184 <&dma_ipg_clk>; 185 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 186 clock-output-names = "i2c2_lpcg_clk", 187 "i2c2_lpcg_ipg_clk"; 188 power-domains = <&pd IMX_SC_R_I2C_2>; 189 }; 190 191 i2c3_lpcg: clock-controller@5ac30000 { 192 compatible = "fsl,imx8qxp-lpcg"; 193 reg = <0x5ac30000 0x10000>; 194 #clock-cells = <1>; 195 clocks = <&clk IMX_SC_R_I2C_3 IMX_SC_PM_CLK_PER>, 196 <&dma_ipg_clk>; 197 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 198 clock-output-names = "i2c3_lpcg_clk", 199 "i2c3_lpcg_ipg_clk"; 200 power-domains = <&pd IMX_SC_R_I2C_3>; 201 }; 202};