ac2066ea8b48a5f097e624287deeb99dfe919a83
[oweals/openwrt.git] /
1 From 74a4dd8daf47253654d13143608b6b3518d8dc42 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <wahrenst@gmx.net>
3 Date: Sun, 19 May 2019 12:20:00 +0200
4 Subject: [PATCH 521/773] ARM: bcm283x: Reduce register ranges for UART, SPI
5  and I2C
6
7 The assigned register ranges for UART, SPI and I2C were too wasteful.
8 In order to avoid overlapping with the new functions on BCM2838
9 reduce the ranges.
10
11 Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
12 ---
13  arch/arm/boot/dts/bcm283x.dtsi | 6 +++---
14  1 file changed, 3 insertions(+), 3 deletions(-)
15
16 --- a/arch/arm/boot/dts/bcm283x.dtsi
17 +++ b/arch/arm/boot/dts/bcm283x.dtsi
18 @@ -387,7 +387,7 @@
19  
20                 uart0: serial@7e201000 {
21                         compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
22 -                       reg = <0x7e201000 0x1000>;
23 +                       reg = <0x7e201000 0x200>;
24                         interrupts = <2 25>;
25                         clocks = <&clocks BCM2835_CLOCK_UART>,
26                                  <&clocks BCM2835_CLOCK_VPU>;
27 @@ -418,7 +418,7 @@
28  
29                 spi: spi@7e204000 {
30                         compatible = "brcm,bcm2835-spi";
31 -                       reg = <0x7e204000 0x1000>;
32 +                       reg = <0x7e204000 0x200>;
33                         interrupts = <2 22>;
34                         clocks = <&clocks BCM2835_CLOCK_VPU>;
35                         #address-cells = <1>;
36 @@ -428,7 +428,7 @@
37  
38                 i2c0: i2c@7e205000 {
39                         compatible = "brcm,bcm2835-i2c";
40 -                       reg = <0x7e205000 0x1000>;
41 +                       reg = <0x7e205000 0x200>;
42                         interrupts = <2 21>;
43                         clocks = <&clocks BCM2835_CLOCK_VPU>;
44                         #address-cells = <1>;