.. | .. |
---|
| 1 | +// SPDX-License-Identifier: (GPL-2.0 OR MIT) |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2015, 2016 Zodiac Inflight Innovations |
---|
3 | | - * |
---|
4 | | - * Based on an original 'vf610-twr.dts' which is Copyright 2015, |
---|
5 | | - * Freescale Semiconductor, Inc. |
---|
6 | | - * |
---|
7 | | - * This file is dual-licensed: you can use it either under the terms |
---|
8 | | - * of the GPL or the X11 license, at your option. Note that this dual |
---|
9 | | - * licensing only applies to this file, and not this project as a |
---|
10 | | - * whole. |
---|
11 | | - * |
---|
12 | | - * a) This file is free software; you can redistribute it and/or |
---|
13 | | - * modify it under the terms of the GNU General Public License |
---|
14 | | - * version 2 as published by the Free Software Foundation. |
---|
15 | | - * |
---|
16 | | - * This file is distributed in the hope that it will be useful, |
---|
17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
19 | | - * GNU General Public License for more details. |
---|
20 | | - * |
---|
21 | | - * Or, alternatively, |
---|
22 | | - * |
---|
23 | | - * b) Permission is hereby granted, free of charge, to any person |
---|
24 | | - * obtaining a copy of this software and associated documentation |
---|
25 | | - * files (the "Software"), to deal in the Software without |
---|
26 | | - * restriction, including without limitation the rights to use, |
---|
27 | | - * copy, modify, merge, publish, distribute, sublicense, and/or |
---|
28 | | - * sell copies of the Software, and to permit persons to whom the |
---|
29 | | - * Software is furnished to do so, subject to the following |
---|
30 | | - * conditions: |
---|
31 | | - * |
---|
32 | | - * The above copyright notice and this permission notice shall be |
---|
33 | | - * included in all copies or substantial portions of the Software. |
---|
34 | | - * |
---|
35 | | - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
---|
36 | | - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
---|
37 | | - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
---|
38 | | - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
---|
39 | | - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
---|
40 | | - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
---|
41 | | - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
---|
42 | | - * OTHER DEALINGS IN THE SOFTWARE. |
---|
43 | 4 | */ |
---|
44 | 5 | |
---|
45 | 6 | /dts-v1/; |
---|
.. | .. |
---|
334 | 295 | gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
---|
335 | 296 | gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
---|
336 | 297 | gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
---|
337 | | - cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH |
---|
| 298 | + cs-gpios = <&gpio1 9 GPIO_ACTIVE_LOW |
---|
338 | 299 | &gpio1 8 GPIO_ACTIVE_HIGH>; |
---|
339 | 300 | num-chipselects = <2>; |
---|
340 | 301 | |
---|
341 | | - m25p128@0 { |
---|
| 302 | + flash@0 { |
---|
342 | 303 | compatible = "m25p128", "jedec,spi-nor"; |
---|
343 | 304 | #address-cells = <1>; |
---|
344 | 305 | #size-cells = <1>; |
---|
.. | .. |
---|
362 | 323 | }; |
---|
363 | 324 | |
---|
364 | 325 | &i2c0 { |
---|
365 | | - clock-frequency = <100000>; |
---|
366 | | - pinctrl-names = "default"; |
---|
367 | | - pinctrl-0 = <&pinctrl_i2c0>; |
---|
368 | | - status = "okay"; |
---|
369 | | - |
---|
370 | | - gpio5: pca9554@20 { |
---|
| 326 | + gpio5: io-expander@20 { |
---|
371 | 327 | compatible = "nxp,pca9554"; |
---|
372 | 328 | reg = <0x20>; |
---|
373 | 329 | gpio-controller; |
---|
.. | .. |
---|
375 | 331 | |
---|
376 | 332 | }; |
---|
377 | 333 | |
---|
378 | | - gpio6: pca9554@22 { |
---|
| 334 | + gpio6: io-expander@22 { |
---|
379 | 335 | compatible = "nxp,pca9554"; |
---|
380 | 336 | pinctrl-names = "default"; |
---|
381 | 337 | pinctrl-0 = <&pinctrl_pca9554_22>; |
---|
.. | .. |
---|
389 | 345 | }; |
---|
390 | 346 | |
---|
391 | 347 | &i2c2 { |
---|
392 | | - clock-frequency = <100000>; |
---|
393 | | - pinctrl-names = "default"; |
---|
394 | | - pinctrl-0 = <&pinctrl_i2c2>; |
---|
395 | | - status = "okay"; |
---|
396 | | - |
---|
397 | | - tca9548@70 { |
---|
| 348 | + i2c-mux@70 { |
---|
398 | 349 | compatible = "nxp,pca9548"; |
---|
399 | 350 | pinctrl-0 = <&pinctrl_i2c_mux_reset>; |
---|
400 | 351 | pinctrl-names = "default"; |
---|
.. | .. |
---|
408 | 359 | #size-cells = <0>; |
---|
409 | 360 | reg = <0>; |
---|
410 | 361 | |
---|
411 | | - sfp1: at24c04@50 { |
---|
| 362 | + sfp1: eeprom@50 { |
---|
412 | 363 | compatible = "atmel,24c02"; |
---|
413 | 364 | reg = <0x50>; |
---|
414 | 365 | }; |
---|
.. | .. |
---|
419 | 370 | #size-cells = <0>; |
---|
420 | 371 | reg = <1>; |
---|
421 | 372 | |
---|
422 | | - sfp2: at24c04@50 { |
---|
| 373 | + sfp2: eeprom@50 { |
---|
423 | 374 | compatible = "atmel,24c02"; |
---|
424 | 375 | reg = <0x50>; |
---|
425 | 376 | }; |
---|
.. | .. |
---|
430 | 381 | #size-cells = <0>; |
---|
431 | 382 | reg = <2>; |
---|
432 | 383 | |
---|
433 | | - sfp3: at24c04@50 { |
---|
| 384 | + sfp3: eeprom@50 { |
---|
434 | 385 | compatible = "atmel,24c02"; |
---|
435 | 386 | reg = <0x50>; |
---|
436 | 387 | }; |
---|
.. | .. |
---|
441 | 392 | #size-cells = <0>; |
---|
442 | 393 | reg = <3>; |
---|
443 | 394 | |
---|
444 | | - sfp4: at24c04@50 { |
---|
| 395 | + sfp4: eeprom@50 { |
---|
445 | 396 | compatible = "atmel,24c02"; |
---|
446 | 397 | reg = <0x50>; |
---|
447 | 398 | }; |
---|
.. | .. |
---|
455 | 406 | }; |
---|
456 | 407 | }; |
---|
457 | 408 | |
---|
| 409 | +&mdio1 { |
---|
| 410 | + clock-frequency = <5000000>; |
---|
| 411 | +}; |
---|
458 | 412 | |
---|
459 | 413 | &iomuxc { |
---|
460 | 414 | pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 { |
---|