Stefan Agner | e60f749 | 2016-10-05 15:27:06 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Toradex AG |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ or X11 |
| 5 | */ |
| 6 | #include "imx7d-pinfunc.h" |
| 7 | #include "skeleton.dtsi" |
| 8 | |
| 9 | / { |
| 10 | aliases { |
| 11 | gpio0 = &gpio1; |
| 12 | gpio1 = &gpio2; |
| 13 | gpio2 = &gpio3; |
| 14 | gpio3 = &gpio4; |
| 15 | gpio4 = &gpio5; |
| 16 | gpio5 = &gpio6; |
| 17 | gpio6 = &gpio7; |
| 18 | i2c0 = &i2c1; |
| 19 | i2c1 = &i2c2; |
| 20 | i2c2 = &i2c3; |
| 21 | i2c3 = &i2c4; |
| 22 | serial0 = &uart1; |
| 23 | serial1 = &uart2; |
| 24 | serial2 = &uart3; |
| 25 | serial3 = &uart4; |
| 26 | serial4 = &uart5; |
| 27 | serial5 = &uart6; |
| 28 | serial6 = &uart7; |
| 29 | }; |
| 30 | |
| 31 | soc { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <1>; |
| 34 | compatible = "simple-bus"; |
| 35 | ranges; |
| 36 | |
| 37 | aips1: aips-bus@30000000 { |
| 38 | compatible = "fsl,aips-bus", "simple-bus"; |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <1>; |
| 41 | reg = <0x30000000 0x400000>; |
| 42 | ranges; |
| 43 | |
| 44 | gpio1: gpio@30200000 { |
| 45 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 46 | reg = <0x30200000 0x10000>; |
| 47 | gpio-controller; |
| 48 | #gpio-cells = <2>; |
| 49 | }; |
| 50 | |
| 51 | gpio2: gpio@30210000 { |
| 52 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 53 | reg = <0x30210000 0x10000>; |
| 54 | gpio-controller; |
| 55 | #gpio-cells = <2>; |
| 56 | }; |
| 57 | |
| 58 | gpio3: gpio@30220000 { |
| 59 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 60 | reg = <0x30220000 0x10000>; |
| 61 | gpio-controller; |
| 62 | #gpio-cells = <2>; |
| 63 | }; |
| 64 | |
| 65 | gpio4: gpio@30230000 { |
| 66 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 67 | reg = <0x30230000 0x10000>; |
| 68 | gpio-controller; |
| 69 | #gpio-cells = <2>; |
| 70 | }; |
| 71 | |
| 72 | gpio5: gpio@30240000 { |
| 73 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 74 | reg = <0x30240000 0x10000>; |
| 75 | gpio-controller; |
| 76 | #gpio-cells = <2>; |
| 77 | }; |
| 78 | |
| 79 | gpio6: gpio@30250000 { |
| 80 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 81 | reg = <0x30250000 0x10000>; |
| 82 | gpio-controller; |
| 83 | #gpio-cells = <2>; |
| 84 | }; |
| 85 | |
| 86 | gpio7: gpio@30260000 { |
| 87 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 88 | reg = <0x30260000 0x10000>; |
| 89 | gpio-controller; |
| 90 | #gpio-cells = <2>; |
| 91 | }; |
| 92 | |
| 93 | iomuxc_lpsr: iomuxc-lpsr@302c0000 { |
| 94 | compatible = "fsl,imx7d-iomuxc-lpsr"; |
| 95 | reg = <0x302c0000 0x10000>; |
| 96 | fsl,input-sel = <&iomuxc>; |
| 97 | }; |
| 98 | |
| 99 | iomuxc: iomuxc@30330000 { |
| 100 | compatible = "fsl,imx7d-iomuxc"; |
| 101 | reg = <0x30330000 0x10000>; |
| 102 | }; |
| 103 | }; |
| 104 | |
| 105 | aips3: aips-bus@30800000 { |
| 106 | compatible = "fsl,aips-bus", "simple-bus"; |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <1>; |
| 109 | reg = <0x30800000 0x400000>; |
| 110 | ranges; |
| 111 | |
| 112 | uart1: serial@30860000 { |
| 113 | compatible = "fsl,imx7d-uart", |
| 114 | "fsl,imx6q-uart"; |
| 115 | reg = <0x30860000 0x10000>; |
| 116 | status = "disabled"; |
| 117 | }; |
| 118 | |
| 119 | uart2: serial@30890000 { |
| 120 | compatible = "fsl,imx7d-uart", |
| 121 | "fsl,imx6q-uart"; |
| 122 | reg = <0x30890000 0x10000>; |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
| 126 | uart3: serial@30880000 { |
| 127 | compatible = "fsl,imx7d-uart", |
| 128 | "fsl,imx6q-uart"; |
| 129 | reg = <0x30880000 0x10000>; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | i2c1: i2c@30a20000 { |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 137 | reg = <0x30a20000 0x10000>; |
| 138 | status = "disabled"; |
| 139 | }; |
| 140 | |
| 141 | i2c2: i2c@30a30000 { |
| 142 | #address-cells = <1>; |
| 143 | #size-cells = <0>; |
| 144 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 145 | reg = <0x30a30000 0x10000>; |
| 146 | status = "disabled"; |
| 147 | }; |
| 148 | |
| 149 | i2c3: i2c@30a40000 { |
| 150 | #address-cells = <1>; |
| 151 | #size-cells = <0>; |
| 152 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 153 | reg = <0x30a40000 0x10000>; |
| 154 | status = "disabled"; |
| 155 | }; |
| 156 | |
| 157 | i2c4: i2c@30a50000 { |
| 158 | #address-cells = <1>; |
| 159 | #size-cells = <0>; |
| 160 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 161 | reg = <0x30a50000 0x10000>; |
| 162 | status = "disabled"; |
| 163 | }; |
| 164 | |
| 165 | uart4: serial@30a60000 { |
| 166 | compatible = "fsl,imx7d-uart", |
| 167 | "fsl,imx6q-uart"; |
| 168 | reg = <0x30a60000 0x10000>; |
| 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | uart5: serial@30a70000 { |
| 173 | compatible = "fsl,imx7d-uart", |
| 174 | "fsl,imx6q-uart"; |
| 175 | reg = <0x30a70000 0x10000>; |
| 176 | status = "disabled"; |
| 177 | }; |
| 178 | |
| 179 | uart6: serial@30a80000 { |
| 180 | compatible = "fsl,imx7d-uart", |
| 181 | "fsl,imx6q-uart"; |
| 182 | reg = <0x30a80000 0x10000>; |
| 183 | status = "disabled"; |
| 184 | }; |
| 185 | |
| 186 | uart7: serial@30a90000 { |
| 187 | compatible = "fsl,imx7d-uart", |
| 188 | "fsl,imx6q-uart"; |
| 189 | reg = <0x30a90000 0x10000>; |
| 190 | status = "disabled"; |
| 191 | }; |
| 192 | }; |
| 193 | }; |
| 194 | }; |