summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/vf610-zii-scu4-aib.dts
blob: 1e6a54954a256a3527b103e4e4d4f59db8da5115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
//
// Copyright (C) 2016-2018 Zodiac Inflight Innovations

#include <arm/vf610-zii-scu4-aib.dts>

#include "vf610-zii-dev.dtsi"

/ {
	aliases {
		/*
		 * NVMEM device corresponding to EEPROM attached to
                 * the switch shares DT node with it, so we use that
                 * fact to create a desirable naming
		 */
		switch0-eeprom = &switch0;
		switch1-eeprom = &switch1;
		switch2-eeprom = &switch2;
		switch3-eeprom = &switch3;
		fiber-eeprom0 = &fiber_eeprom0;
		fiber-eeprom1 = &fiber_eeprom1;
		fiber-eeprom2 = &fiber_eeprom2;
		fiber-eeprom3 = &fiber_eeprom3;
		fiber-eeprom4 = &fiber_eeprom4;
		fiber-eeprom5 = &fiber_eeprom5;
		fiber-eeprom6 = &fiber_eeprom6;
		fiber-eeprom7 = &fiber_eeprom7;
		fiber-eeprom8 = &fiber_eeprom8;
		fiber-eeprom9 = &fiber_eeprom9;
	};
};

&sff0_i2c {
	fiber_eeprom0: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber0";
	};
};

&sff1_i2c {
	fiber_eeprom1: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber1";
	};
};

&sff2_i2c {
	fiber_eeprom2: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber2";
	};
};

&sff3_i2c {
	fiber_eeprom3: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber3";
	};
};

&sff4_i2c {
	fiber_eeprom4: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber4";
	};
};

&sff5_i2c {
	fiber_eeprom5: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber5";
	};
};

&sff6_i2c {
	fiber_eeprom6: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber6";
	};
};

&sff7_i2c {
	fiber_eeprom7: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber7";
	};
};

&sff8_i2c {
	fiber_eeprom8: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber8";
	};
};

&sff9_i2c {
	fiber_eeprom9: eeprom@50 {
		compatible = "atmel,24c04";
		reg = <0x50>;
		label = "fiber9";
	};
};

/*
 * FIXME: Remove once this code appears in kernel DTS
*/
&i2c2 {
	tca9548@70 { i2c-mux-idle-disconnect; };
	tca9548@71 { i2c-mux-idle-disconnect; };
};