diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2020-11-28 22:39:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-12-10 10:47:15 +0100 |
commit | fd904611a60bffaa3416a617c1720885d175c7a0 (patch) | |
tree | 7a11665911fdf8f67fafff7dcffdf962cbbd3d97 /include | |
parent | 1278eb7e3dc12a0940b8f087225675b6ccd9b700 (diff) | |
download | barebox-fd904611a60bffaa3416a617c1720885d175c7a0.tar.gz barebox-fd904611a60bffaa3416a617c1720885d175c7a0.tar.xz |
ARM: rpi: Add Raspberry Pi Zero W mini-uart support
Unlike the Raspberry Pi 1 and Raspberry Pi Zero, the Raspberry Pi Zero W
has its console pins on the header connected to the mini-uart, not the
PL011. The secondary PL011 UART is connected to the bluetooth module.
Set the mini-uart as default console and disable the PL011. That way we
can use the Raspberry Pi 1 image for the Zero W as well.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/of.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 08a02e1105..bf28096ca7 100644 --- a/include/of.h +++ b/include/of.h @@ -981,6 +981,7 @@ int of_device_enable(struct device_node *node); int of_device_enable_path(const char *path); int of_device_disable(struct device_node *node); int of_device_disable_path(const char *path); +int of_device_disable_by_alias(const char *alias); phandle of_get_tree_max_phandle(struct device_node *root); phandle of_node_create_phandle(struct device_node *node); |