]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: bcm283x: Reduce register ranges for UART, SPI and I2C
authorStefan Wahren <wahrenst@gmx.net>
Sun, 19 May 2019 10:20:00 +0000 (12:20 +0200)
committerStefan Wahren <wahrenst@gmx.net>
Wed, 24 Jul 2019 19:53:14 +0000 (21:53 +0200)
The assigned register ranges for UART, SPI and I2C were too wasteful.
In order to avoid overlapping with the new functions on BCM2711
reduce the ranges.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm283x.dtsi

index 4b21ddb26aa563d935bb96757ecc5a3c426a11ba..2d191fcbc2cc16b64c226c3b11992bda2e83f757 100644 (file)
@@ -397,7 +397,7 @@ uart1_ctsrts_gpio42: uart1_ctsrts_gpio42 {
 
                uart0: serial@7e201000 {
                        compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
-                       reg = <0x7e201000 0x1000>;
+                       reg = <0x7e201000 0x200>;
                        interrupts = <2 25>;
                        clocks = <&clocks BCM2835_CLOCK_UART>,
                                 <&clocks BCM2835_CLOCK_VPU>;
@@ -428,7 +428,7 @@ i2s: i2s@7e203000 {
 
                spi: spi@7e204000 {
                        compatible = "brcm,bcm2835-spi";
-                       reg = <0x7e204000 0x1000>;
+                       reg = <0x7e204000 0x200>;
                        interrupts = <2 22>;
                        clocks = <&clocks BCM2835_CLOCK_VPU>;
                        dmas = <&dma 6>, <&dma 7>;
@@ -440,7 +440,7 @@ spi: spi@7e204000 {
 
                i2c0: i2c@7e205000 {
                        compatible = "brcm,bcm2835-i2c";
-                       reg = <0x7e205000 0x1000>;
+                       reg = <0x7e205000 0x200>;
                        interrupts = <2 21>;
                        clocks = <&clocks BCM2835_CLOCK_VPU>;
                        #address-cells = <1>;