255250681500ecf830f6948a52f609779d3548c0
[openwrt/staging/dangole.git] /
1 From d783144d6738af1d2ef3a91ef3cb2ef8529bb041 Mon Sep 17 00:00:00 2001
2 From: Florinel Iordache <florinel.iordache@nxp.com>
3 Date: Mon, 5 Nov 2018 17:04:05 +0200
4 Subject: [PATCH] arm64: dts: Added endianness information to dts serdes node
5
6 This change is required to specify that serdes HW peripheral is little-endian.
7
8 Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
9 ---
10 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 3 ++-
11 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 3 ++-
12 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 3 ++-
13 3 files changed, 6 insertions(+), 3 deletions(-)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
16 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
17 @@ -184,8 +184,9 @@
18 };
19
20 serdes1: serdes@1ea0000 {
21 - reg = <0x0 0x1ea0000 0 0x00002000>;
22 compatible = "fsl,serdes-10g";
23 + reg = <0x0 0x1ea0000 0 0x00002000>;
24 + little-endian;
25 };
26
27 tmu: tmu@1f80000 {
28 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
29 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
30 @@ -834,8 +834,9 @@
31 };
32
33 serdes1: serdes@1ea0000 {
34 - reg = <0x0 0x1ea0000 0 0x00002000>;
35 compatible = "fsl,serdes-10g";
36 + reg = <0x0 0x1ea0000 0 0x00002000>;
37 + little-endian;
38 };
39
40 ccn@4000000 {
41 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
42 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
43 @@ -581,8 +581,9 @@
44 };
45
46 serdes1: serdes@1ea0000 {
47 - reg = <0x0 0x1ea0000 0 0x00002000>;
48 compatible = "fsl,serdes-28g";
49 + reg = <0x0 0x1ea0000 0 0x00002000>;
50 + little-endian;
51 };
52
53 i2c0: i2c@2000000 {