-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCM2711 - Upstream Linux 5.4 backport #3244
Changes from all commits
199a64f
1a69d58
3cbf818
e1a0c15
0a1eea3
fd2aea4
8efc6a5
720b515
79df396
bdd045e
2042f10
0405797
61436cd
cc2b3b7
cba4feb
1b49c53
bf0f37f
cefc1de
077bf9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#include <dt-bindings/power/raspberrypi-power.h> | ||
|
||
/ { | ||
memory { | ||
memory@0 { | ||
device_type = "memory"; | ||
reg = <0 0x10000000>; | ||
}; | ||
|
@@ -19,8 +19,6 @@ | |
soc { | ||
firmware: firmware { | ||
compatible = "raspberrypi,bcm2835-firmware", "simple-bus"; | ||
#address-cells = <0>; | ||
#size-cells = <0>; | ||
mboxes = <&mailbox>; | ||
}; | ||
|
||
|
@@ -86,19 +84,6 @@ | |
status = "okay"; | ||
}; | ||
|
||
&sdhci { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&emmc_gpio48>; | ||
bus-width = <4>; | ||
}; | ||
|
||
&sdhost { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sdhost_gpio48>; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here. |
||
status = "okay"; | ||
bus-width = <4>; | ||
}; | ||
|
||
&usb { | ||
power-domains = <&power RPI_POWER_DOMAIN_USB>; | ||
}; | ||
|
@@ -107,11 +92,6 @@ | |
power-domains = <&power RPI_POWER_DOMAIN_V3D>; | ||
}; | ||
|
||
&hdmi { | ||
power-domains = <&power RPI_POWER_DOMAIN_HDMI>; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This removes the power-domains property from downstream DTs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now i've added it to bcm2708-rpi.dtsi |
||
status = "okay"; | ||
}; | ||
|
||
&vec { | ||
power-domains = <&power RPI_POWER_DOMAIN_VEC>; | ||
status = "okay"; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; | ||
model = "Raspberry Pi 2 Model B"; | ||
|
||
memory { | ||
memory@0 { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will need a minor change to the firmware (it's on the list). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, i assumed the memory node handling is independent of the model. Edit: Should i better revert this on all models, until the firmware can handle this or is only Model 2 affected? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is common to all models, I just chose this instance as an example. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I dropped the relevant changes in this PR, but they are still present in upstream. The consequences could be a wrong memory size? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. Platforms with multiple memory size variants rely on the firmware to correct the size. I have a small patch to the firmware that should handle the change, so if you restore the "memory@0" change I can test it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've pushed two patches to switch all DTS files to "memory@0". |
||
reg = <0 0x40000000>; | ||
}; | ||
|
||
|
@@ -40,6 +40,8 @@ | |
|
||
&hdmi { | ||
hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; | ||
power-domains = <&power RPI_POWER_DOMAIN_HDMI>; | ||
status = "okay"; | ||
}; | ||
|
||
&pwm { | ||
|
@@ -48,6 +50,13 @@ | |
status = "okay"; | ||
}; | ||
|
||
&sdhost { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&sdhost_gpio48>; | ||
bus-width = <4>; | ||
status = "okay"; | ||
}; | ||
|
||
&uart0 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart0_gpio14>; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pinctrl properties are also gone from downstream.