brcm2708: rename target to bcm27xx
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-4.19 / 950-0806-ARM-dts-Remove-bcm2838-rpi-4-b.dts.patch
1 From 8aa8fd89094952e3201b927fb846ba61b30cab6b Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 29 Jan 2020 11:29:06 +0000
4 Subject: [PATCH] ARM: dts: Remove bcm2838-rpi-4-b.dts
5
6 Upstream are not going to use the bcm2838 identifier, so begin the
7 cleanup by removing the suggested upstream Pi 4 .dts file.
8
9 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
10 ---
11 arch/arm/boot/dts/Makefile | 1 -
12 arch/arm/boot/dts/bcm2838-rpi-4-b.dts | 118 --------------------------
13 2 files changed, 119 deletions(-)
14 delete mode 100644 arch/arm/boot/dts/bcm2838-rpi-4-b.dts
15
16 --- a/arch/arm/boot/dts/Makefile
17 +++ b/arch/arm/boot/dts/Makefile
18 @@ -95,7 +95,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
19 bcm2836-rpi-2-b.dtb \
20 bcm2837-rpi-3-b.dtb \
21 bcm2837-rpi-3-b-plus.dtb \
22 - bcm2838-rpi-4-b.dtb \
23 bcm2835-rpi-zero.dtb \
24 bcm2835-rpi-zero-w.dtb
25 dtb-$(CONFIG_ARCH_BCM_5301X) += \
26 --- a/arch/arm/boot/dts/bcm2838-rpi-4-b.dts
27 +++ /dev/null
28 @@ -1,118 +0,0 @@
29 -// SPDX-License-Identifier: GPL-2.0
30 -/dts-v1/;
31 -#include "bcm2838.dtsi"
32 -#include "bcm2835-rpi.dtsi"
33 -#include "bcm2838-rpi.dtsi"
34 -
35 -/ {
36 - compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
37 - model = "Raspberry Pi 4 Model B";
38 -
39 - chosen {
40 - /* 8250 auxiliary UART instead of pl011 */
41 - stdout-path = "serial1:115200n8";
42 - };
43 -
44 - memory@0 {
45 - reg = <0 0 0x40000000>;
46 - };
47 -
48 - leds {
49 - act {
50 - gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
51 - };
52 -
53 - pwr {
54 - label = "PWR";
55 - gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
56 - };
57 - };
58 -
59 - wifi_pwrseq: wifi-pwrseq {
60 - compatible = "mmc-pwrseq-simple";
61 - reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
62 - };
63 -
64 - sd_io_1v8_reg: sd_io_1v8_reg {
65 - status = "okay";
66 - compatible = "regulator-gpio";
67 - vin-supply = <&vdd_5v0_reg>;
68 - regulator-name = "vdd-sd-io";
69 - regulator-min-microvolt = <1800000>;
70 - regulator-max-microvolt = <3300000>;
71 - regulator-boot-on;
72 - regulator-always-on;
73 - regulator-settling-time-us = <5000>;
74 -
75 - gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;
76 - states = <1800000 0x1
77 - 3300000 0x0>;
78 - };
79 -};
80 -
81 -&firmware {
82 - expgpio: gpio {
83 - compatible = "raspberrypi,firmware-gpio";
84 - gpio-controller;
85 - #gpio-cells = <2>;
86 - gpio-line-names = "BT_ON",
87 - "WL_ON",
88 - "PWR_LED_OFF",
89 - "GLOBAL_RESET",
90 - "VDD_SD_IO_SEL",
91 - "CAM_GPIO",
92 - "",
93 - "";
94 - status = "okay";
95 - };
96 -};
97 -
98 -&pwm1 {
99 - pinctrl-names = "default";
100 - pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio41>;
101 - status = "okay";
102 -};
103 -
104 -/* SDHCI is used to control the SDIO for wireless */
105 -&sdhci {
106 - #address-cells = <1>;
107 - #size-cells = <0>;
108 - pinctrl-names = "default";
109 - pinctrl-0 = <&emmc_gpio34>;
110 - status = "okay";
111 - bus-width = <4>;
112 - non-removable;
113 - mmc-pwrseq = <&wifi_pwrseq>;
114 -
115 - brcmf: wifi@1 {
116 - reg = <1>;
117 - compatible = "brcm,bcm4329-fmac";
118 - };
119 -};
120 -
121 -/* EMMC2 is used to drive the SD card */
122 -&emmc2 {
123 - status = "okay";
124 - broken-cd;
125 - vqmmc-supply = <&sd_io_1v8_reg>;
126 -};
127 -
128 -/* uart0 communicates with the BT module */
129 -&uart0 {
130 - pinctrl-names = "default";
131 - pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32 &gpclk2_gpio43>;
132 - status = "okay";
133 -
134 - bluetooth {
135 - compatible = "brcm,bcm43438-bt";
136 - max-speed = <2000000>;
137 - shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
138 - };
139 -};
140 -
141 -/* uart1 is mapped to the pin header */
142 -&uart1 {
143 - pinctrl-names = "default";
144 - pinctrl-0 = <&uart1_gpio14>;
145 - status = "okay";
146 -};