Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: dsa: bcm_sf2: Update compatible string for 7278B0

Update the compatible string and Device Tree binding document for
7278B0.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
3b07d788 020929d6

+7 -1
+4 -1
Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt
··· 2 2 3 3 Required properties: 4 4 5 - - compatible: should be "brcm,bcm7445-switch-v4.0" or "brcm,bcm7278-switch-v4.0" 5 + - compatible: should be one of 6 + "brcm,bcm7445-switch-v4.0" 7 + "brcm,bcm7278-switch-v4.0" 8 + "brcm,bcm7278-switch-v4.8" 6 9 - reg: addresses and length of the register sets for the device, must be 6 7 10 pairs of register addresses and lengths 8 11 - interrupts: interrupts for the devices, must be two interrupts
+3
drivers/net/dsa/bcm_sf2.c
··· 948 948 { .compatible = "brcm,bcm7278-switch-v4.0", 949 949 .data = &bcm_sf2_7278_data 950 950 }, 951 + { .compatible = "brcm,bcm7278-switch-v4.8", 952 + .data = &bcm_sf2_7278_data 953 + }, 951 954 { /* sentinel */ }, 952 955 }; 953 956 MODULE_DEVICE_TABLE(of, bcm_sf2_of_match);