1/* 2 * Copyright (c) 2020, Linaro Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Application overlay for spi devices 7 */ 8 9/**************************************** 10 * PLEASE KEEP REG ADDRESSES SEQUENTIAL * 11 ***************************************/ 12 13test_spi_adxl362: adxl362@0 { 14 compatible = "adi,adxl362"; 15 reg = <0x0>; 16 spi-max-frequency = <0>; 17 int1-gpios = <&test_gpio 0 0>; 18}; 19 20test_spi_adxl372: adxl372@1 { 21 compatible = "adi,adxl372"; 22 reg = <0x1>; 23 spi-max-frequency = <0>; 24 int1-gpios = <&test_gpio 0 0>; 25}; 26 27test_spi_bme280: bme280@2 { 28 compatible = "bosch,bme280"; 29 reg = <0x2>; 30 spi-max-frequency = <0>; 31}; 32 33test_spi_bmi160: bmi160@3 { 34 compatible = "bosch,bmi160"; 35 reg = <0x3>; 36 spi-max-frequency = <0>; 37 int-gpios = <&test_gpio 0 0>; 38}; 39 40test_spi_ms5607: ms5607@4 { 41 compatible = "meas,ms5607"; 42 reg = <0x4>; 43 spi-max-frequency = <0>; 44}; 45 46test_spi_iis2dlpc: iis2dlpc@5 { 47 compatible = "st,iis2dlpc"; 48 reg = <0x5>; 49 spi-max-frequency = <0>; 50 drdy-gpios = <&test_gpio 0 0>; 51}; 52 53test_spi_iis2mdc: iis2mdc@6 { 54 compatible = "st,iis2mdc"; 55 reg = <0x6>; 56 spi-max-frequency = <0>; 57 drdy-gpios = <&test_gpio 0 0>; 58}; 59 60test_spi_iis3dhhc: iis3dhhc@7 { 61 compatible = "st,iis3dhhc"; 62 reg = <0x7>; 63 spi-max-frequency = <0>; 64 irq-gpios = <&test_gpio 0 0>; 65}; 66 67test_spi_ism330dhcx: ism330dhcx@8 { 68 compatible = "st,ism330dhcx"; 69 reg = <0x8>; 70 spi-max-frequency = <0>; 71 drdy-gpios = <&test_gpio 0 0>; 72}; 73 74test_spi_lis2dh: lis2dh@9 { 75 compatible = "st,lis2dh"; 76 reg = <0x9>; 77 spi-max-frequency = <0>; 78 irq-gpios = <&test_gpio 0 0>; 79 /* disconnect-sdo-sa0-pull-up; */ 80}; 81 82test_spi_lis2ds12: lis2ds12@a { 83 compatible = "st,lis2ds12"; 84 reg = <0xa>; 85 spi-max-frequency = <0>; 86 irq-gpios = <&test_gpio 0 0>; 87}; 88 89test_spi_lis2dw12: lis2dw12@b { 90 compatible = "st,lis2dw12"; 91 reg = <0xb>; 92 spi-max-frequency = <0>; 93 irq-gpios = <&test_gpio 0 0>; 94}; 95 96test_spi_lis2mdl: lis2mdl@c { 97 compatible = "st,lis2mdl"; 98 reg = <0xc>; 99 spi-max-frequency = <0>; 100 irq-gpios = <&test_gpio 0 0>; 101}; 102 103test_spi_lps22hh: lps22hh@d { 104 compatible = "st,lps22hh"; 105 reg = <0xd>; 106 spi-max-frequency = <0>; 107 drdy-gpios = <&test_gpio 0 0>; 108}; 109 110test_spi_lsm303agr_accel: lsm303agr-accel@e { 111 compatible = "st,lsm303agr-accel"; 112 reg = <0xe>; 113 spi-max-frequency = <0>; 114 irq-gpios = <&test_gpio 0 0>; 115 /* disconnect-sdo-sa0-pull-up; */ 116 status = "disabled"; 117}; 118 119test_spi_lsm6dsl: lsm6dsl@f { 120 compatible = "st,lsm6dsl"; 121 reg = <0xf>; 122 spi-max-frequency = <0>; 123 irq-gpios = <&test_gpio 0 0>; 124}; 125 126test_spi_lsm6dso: lsm6dso@10 { 127 compatible = "st,lsm6dso"; 128 reg = <0x10>; 129 spi-max-frequency = <0>; 130 irq-gpios = <&test_gpio 0 0>; 131}; 132 133test_spi_iis2dh: iis2dh@11 { 134 compatible = "st,iis2dh"; 135 reg = <0x11>; 136 spi-max-frequency = <0>; 137 drdy-gpios = <&test_gpio 0 0>; 138}; 139 140test_spi_iis2iclx: iis2iclx@12 { 141 compatible = "st,iis2iclx"; 142 reg = <0x12>; 143 spi-max-frequency = <0>; 144 drdy-gpios = <&test_gpio 0 0>; 145 int-pin = <1>; 146}; 147 148test_spi_icm42605: icm42605@13 { 149 compatible = "invensense,icm42605"; 150 reg = <0x13>; 151 spi-max-frequency = <0>; 152 int-gpios = <&test_gpio 0 0>; 153}; 154 155test_spi_max6675: max6675@14 { 156 compatible = "maxim,max6675"; 157 reg = <0x14>; 158 spi-max-frequency = <0>; 159}; 160 161test_spi_bmi270: bmi270@15 { 162 compatible = "bosch,bmi270"; 163 reg = <0x15>; 164 spi-max-frequency = <0>; 165 irq-gpios = <&test_gpio 0 0>; 166}; 167 168test_spi_bmp388: bmp388@16 { 169 compatible = "bosch,bmp388"; 170 reg = <0x16>; 171 spi-max-frequency = <0>; 172 int-gpios = <&test_gpio 0 0>; 173}; 174 175test_spi_i3g4250d: i3g4250d@17 { 176 compatible = "st,i3g4250d"; 177 reg = <0x17>; 178 spi-max-frequency = <0>; 179}; 180 181test_spi_icm42670p: icm42670p@18 { 182 compatible = "invensense,icm42670p"; 183 reg = <0x18>; 184 spi-max-frequency = <0>; 185 int-gpios = <&test_gpio 0 0>; 186 accel-hz = <800>; 187 accel-fs = <16>; 188 gyro-hz = <800>; 189 gyro-fs = <2000>; 190}; 191 192test_spi_bme680: bme680@19 { 193 compatible = "bosch,bme680"; 194 reg = <0x19>; 195 spi-max-frequency = <0>; 196}; 197 198test_spi_icm426888: icm42688@1a { 199 compatible = "invensense,icm42688"; 200 reg = <0x1a>; 201 spi-max-frequency = <24000000>; 202 int-gpios = <&test_gpio 0 0>; 203}; 204 205test_spi_max31855: max31855@1b { 206 compatible = "maxim,max31855"; 207 reg = <0x1b>; 208 spi-max-frequency = <0>; 209}; 210 211test_spi_max31865: max31865@1c { 212 compatible = "maxim,max31865"; 213 reg = <0x1c>; 214 spi-max-frequency = <125000>; 215 resistance-at-zero = <100>; 216 resistance-reference = <430>; 217 low-threshold = <6579>; 218 high-threshold = <32767>; 219 filter-50hz; 220}; 221 222test_spi_bmm150: bmm150@1d { 223 compatible = "bosch,bmm150"; 224 reg = <0x1d>; 225 spi-max-frequency = <0>; 226 drdy-gpios = <&test_gpio 0 0>; 227}; 228 229test_spi_hts221: hts221@1e { 230 compatible = "st,hts221"; 231 reg = <0x1e>; 232 spi-max-frequency = <0>; 233 drdy-gpios = <&test_gpio 0 0>; 234}; 235 236test_spi_adt7310: adt7310@1f { 237 compatible = "adi,adt7310"; 238 reg = <0x1f>; 239 spi-max-frequency = <0>; 240 int-gpios = <&test_gpio 0 0>; 241}; 242 243test_spi_bmi323: bmi323@20 { 244 compatible = "bosch,bmi323"; 245 reg = <0x20>; 246 spi-max-frequency = <8000000>; 247 int-gpios = <&test_gpio 0 0>; 248}; 249 250test_spi_lsm6dso16is: lsm6dso16is@21 { 251 compatible = "st,lsm6dso16is"; 252 reg = <0x21>; 253 spi-max-frequency = <0>; 254 irq-gpios = <&test_gpio 0 0>; 255}; 256 257test_spi_lsm6dsv16x: lsm6dsv16x@22 { 258 compatible = "st,lsm6dsv16x"; 259 reg = <0x22>; 260 spi-max-frequency = <0>; 261 int1-gpios = <&test_gpio 0 0>; 262 int2-gpios = <&test_gpio 0 0>; 263}; 264 265test_spi_bmi08x_accel: bmi08x@23 { 266 compatible = "bosch,bmi08x-accel"; 267 reg = <0x23>; 268 spi-max-frequency = <0>; 269 int-gpios = <&test_gpio 0 0>; 270 int1-map-io = <0x01>; 271 int2-map-io = <0x00>; 272 int1-conf-io = <0x0A>; 273 int2-conf-io = <0x17>; 274 accel-hz = "800"; 275 accel-fs = <4>; 276}; 277 278test_spi_bmi08x_gyro: bmi08x@24 { 279 compatible = "bosch,bmi08x-gyro"; 280 reg = <0x24>; 281 spi-max-frequency = <0>; 282 int-gpios = <&test_gpio 0 0>; 283 int3-4-map-io = <0x01>; 284 int3-4-conf-io = <0x01>; 285 gyro-hz = "1000_116"; 286 gyro-fs = <1000>; 287}; 288 289test_spi_tmag5170: tmag5170@25 { 290 compatible = "ti,tmag5170"; 291 reg = <0x25>; 292 spi-max-frequency = <0>; 293 int-gpios = <&test_gpio 0 0>; 294 operating-mode = <1>; 295}; 296 297test_spi_adxl367: adxl367@26 { 298 compatible = "adi,adxl367"; 299 reg = <0x26>; 300 spi-max-frequency = <0>; 301 odr = <4>; 302 int1-gpios = <&test_gpio 0 0>; 303}; 304 305test_spi_lps22df: lps22df@27 { 306 compatible = "st,lps22df"; 307 reg = <0x27>; 308 spi-max-frequency = <0>; 309 drdy-gpios = <&test_gpio 0 0>; 310 status = "okay"; 311}; 312 313test_spi_lis2du12: lis2du12@28 { 314 compatible = "st,lis2du12"; 315 reg = <0x28>; 316 spi-max-frequency = <0>; 317 int1-gpios = <&test_gpio 0 0>; 318 int2-gpios = <&test_gpio 0 0>; 319 status = "okay"; 320}; 321 322test_spi_lis2de12: lis2de12@29 { 323 compatible = "st,lis2de12"; 324 reg = <0x29>; 325 spi-max-frequency = <0>; 326 int1-gpios = <&test_gpio 0 0>; 327 int2-gpios = <&test_gpio 0 0>; 328 status = "okay"; 329}; 330 331test_spi_ens160: ens160@2a { 332 compatible = "sciosense,ens160"; 333 reg = <0x2a>; 334 spi-max-frequency = <0>; 335 int-gpios = <&test_gpio 0 0>; 336}; 337 338test_spi_bd8lb600fs: bd8lb600fs@2b { 339 compatible = "rohm,bd8lb600fs"; 340 reg = <0x2b>; 341 spi-max-frequency = <0>; 342 reset-gpios = <&test_gpio 0 0>; 343 instance-count = <1>; 344 status = "okay"; 345 346 bd8lb600fs_diagnostics: bd8lb600fs_diagnostics { 347 compatible = "rohm,bd8lb600fs-diagnostics"; 348 status = "okay"; 349 #sensor-cells = <0>; 350 }; 351}; 352 353test_spi_iis328dq: iis328dq@2c { 354 compatible = "st,iis328dq"; 355 status = "okay"; 356 reg = <0x2c>; 357 spi-max-frequency = <0>; 358 int1-gpios = <&test_gpio 0 0>; 359 drdy-int-pad = <1>; 360}; 361 362test_spi_lis2dux12: lis2dux12@2d { 363 compatible = "st,lis2dux12"; 364 reg = <0x2d>; 365 spi-max-frequency = <0>; 366 int1-gpios = <&test_gpio 0 0>; 367 int2-gpios = <&test_gpio 0 0>; 368 status = "okay"; 369}; 370 371test_spi_tle9104: tle9104@2e { 372 compatible = "infineon,tle9104"; 373 reg = <0x2e>; 374 spi-max-frequency = <0>; 375 status = "okay"; 376 377 tle9104_diagnostics: tle9104_diagnostics { 378 compatible = "infineon,tle9104-diagnostics"; 379 status = "okay"; 380 #sensor-cells = <0>; 381 }; 382}; 383 384test_spi_bmp390: bmp390@2f { 385 compatible = "bosch,bmp390"; 386 reg = <0x2f>; 387 spi-max-frequency = <0>; 388 int-gpios = <&test_gpio 0 0>; 389 osr-press = <0x01>; 390 odr = "12.5"; 391 osr-press = <8>; 392 osr-temp = <1>; 393 iir-filter = <3>; 394}; 395 396test_spi_ilps22qs: ilps22qs@30 { 397 compatible = "st,ilps22qs"; 398 reg = <0x30>; 399 spi-max-frequency = <0>; 400 status = "okay"; 401}; 402