mvebu: reduce speed to gen1 for espressobin pcie
[oweals/openwrt.git] / target / linux / mvebu / patches-4.14 / 521-esporessobin-dt-enable-spi-nor-on-i2c.patch
1 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
2 +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
3 @@ -111,6 +111,26 @@
4         status = "okay";
5  };
6  
7 +&spi0 {
8 +       status = "okay";
9 +
10 +       w25q32dw@0 {
11 +               #address-cells = <1>;
12 +               #size-cells = <1>;
13 +               compatible = "jedec,spi-nor";
14 +               reg = <0>;
15 +               spi-max-frequency = <104000000>;
16 +               m25,fast-read;
17 +
18 +               pinctrl-names = "default";
19 +               pinctrl-0 = <&spi_quad_pins>;
20 +       };
21 +};
22 +
23 +&i2c0 {
24 +       status = "okay";
25 +};
26 +
27  &mdio {
28         switch0: switch0@1 {
29                 compatible = "marvell,mv88e6085";