1 From 9802671acf4250d6541d175ba599da03cee8acc1 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Thu, 5 Sep 2019 17:36:38 +0100
4 Subject: [PATCH 791/806] overlays: mcp23017: rename the GPIO pins node with
7 In order to allow the overlay to be loaded multiple times the
8 GPIO node for the interrupt line needs to be unique.
9 Rename it based on the MCP23017 I2C address
11 https://github.com/raspberrypi/linux/issues/3207
13 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
15 arch/arm/boot/dts/overlays/mcp23017-overlay.dts | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
18 --- a/arch/arm/boot/dts/overlays/mcp23017-overlay.dts
19 +++ b/arch/arm/boot/dts/overlays/mcp23017-overlay.dts
24 - mcp23017_pins: mcp23017_pins {
25 + mcp23017_pins: mcp23017_pins@20 {
31 gpiopin = <&mcp23017_pins>,"brcm,pins:0",
32 <&mcp23017>,"interrupts:0";
33 - addr = <&mcp23017>,"reg:0";
34 + addr = <&mcp23017>,"reg:0", <&mcp23017_pins>,"reg:0";