lantiq: fix broadcasts and vlans in two iface mode
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.9 / 0176-BCM270X-Disable-VEC-unless-vc4-kms-v3d-is-present.patch
1 From 323d84f926d907f424c3e55bec55ec84a9d04657 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Mon, 23 Jan 2017 11:41:54 -0800
4 Subject: [PATCH] BCM270X: Disable VEC unless vc4-kms-v3d is present.
5
6 Signed-off-by: Eric Anholt <eric@anholt.net>
7 ---
8  arch/arm/boot/dts/bcm2708-rpi.dtsi                 | 4 ++++
9  arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts | 7 +++++++
10  2 files changed, 11 insertions(+)
11
12 --- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
13 +++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
14 @@ -107,3 +107,7 @@
15  &usb {
16         power-domains = <&power RPI_POWER_DOMAIN_USB>;
17  };
18 +
19 +&vec {
20 +       status = "disabled";
21 +};
22 --- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
23 +++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
24 @@ -148,6 +148,13 @@
25                 };
26         };
27  
28 +       fragment@18 {
29 +               target = <&vec>;
30 +               __overlay__  {
31 +                       status = "okay";
32 +               };
33 +       };
34 +
35         __overrides__ {
36                 cma-256 = <0>,"+0-1-2-3-4";
37                 cma-192 = <0>,"-0+1-2-3-4";