hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
....@@ -1,45 +1,6 @@
1
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
12 /*
23 * 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.
434 */
445
456 /dts-v1/;
....@@ -334,11 +295,11 @@
334295 gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
335296 gpio-mosi = <&gpio1 11 GPIO_ACTIVE_HIGH>;
336297 gpio-miso = <&gpio1 10 GPIO_ACTIVE_HIGH>;
337
- cs-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH
298
+ cs-gpios = <&gpio1 9 GPIO_ACTIVE_LOW
338299 &gpio1 8 GPIO_ACTIVE_HIGH>;
339300 num-chipselects = <2>;
340301
341
- m25p128@0 {
302
+ flash@0 {
342303 compatible = "m25p128", "jedec,spi-nor";
343304 #address-cells = <1>;
344305 #size-cells = <1>;
....@@ -362,12 +323,7 @@
362323 };
363324
364325 &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 {
371327 compatible = "nxp,pca9554";
372328 reg = <0x20>;
373329 gpio-controller;
....@@ -375,7 +331,7 @@
375331
376332 };
377333
378
- gpio6: pca9554@22 {
334
+ gpio6: io-expander@22 {
379335 compatible = "nxp,pca9554";
380336 pinctrl-names = "default";
381337 pinctrl-0 = <&pinctrl_pca9554_22>;
....@@ -389,12 +345,7 @@
389345 };
390346
391347 &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 {
398349 compatible = "nxp,pca9548";
399350 pinctrl-0 = <&pinctrl_i2c_mux_reset>;
400351 pinctrl-names = "default";
....@@ -408,7 +359,7 @@
408359 #size-cells = <0>;
409360 reg = <0>;
410361
411
- sfp1: at24c04@50 {
362
+ sfp1: eeprom@50 {
412363 compatible = "atmel,24c02";
413364 reg = <0x50>;
414365 };
....@@ -419,7 +370,7 @@
419370 #size-cells = <0>;
420371 reg = <1>;
421372
422
- sfp2: at24c04@50 {
373
+ sfp2: eeprom@50 {
423374 compatible = "atmel,24c02";
424375 reg = <0x50>;
425376 };
....@@ -430,7 +381,7 @@
430381 #size-cells = <0>;
431382 reg = <2>;
432383
433
- sfp3: at24c04@50 {
384
+ sfp3: eeprom@50 {
434385 compatible = "atmel,24c02";
435386 reg = <0x50>;
436387 };
....@@ -441,7 +392,7 @@
441392 #size-cells = <0>;
442393 reg = <3>;
443394
444
- sfp4: at24c04@50 {
395
+ sfp4: eeprom@50 {
445396 compatible = "atmel,24c02";
446397 reg = <0x50>;
447398 };
....@@ -455,6 +406,9 @@
455406 };
456407 };
457408
409
+&mdio1 {
410
+ clock-frequency = <5000000>;
411
+};
458412
459413 &iomuxc {
460414 pinctrl_gpio_e6185_eeprom_sel: pinctrl-gpio-e6185-eeprom-spi0 {