Am 01.08.2017 um 16:47 schrieb Dmitry Korunov: > The Raspberry Pi Zero W extends the Pi Zero family and it's also > based on a BCM2835 SoC. Like the Pi Zero, it has 512MB RAM, > Mini HDMI and USB On-The-Go ports. Both Pi's hasn't got Ethernet, > but Pi Zero W has built in wireless LAN 802.11 b/g/n. > > Signed-off-by: Dmitry Korunov <desse...@gmail.com> > --- > Changes for v2: > - removed surplus spaces > - added the board description > > arch/arm/dts/bcm2835-rpi-zero-w.dts | 33 +++++++++++++++++++++++++++++++++ > arch/arm/dts/bcm283x-rpi-usb-host.dtsi | 3 +++ > arch/arm/mach-bcm283x/Kconfig | 16 ++++++++++++++++ > board/raspberrypi/rpi/rpi.c | 5 +++++ > configs/rpi_0_w_defconfig | 28 ++++++++++++++++++++++++++++ > include/configs/rpi.h | 2 +- > 6 files changed, 86 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/dts/bcm2835-rpi-zero-w.dts
> create mode 100644 arch/arm/dts/bcm283x-rpi-usb-host.dtsi This file is already present in the meantime (but applies with --3way). > create mode 100644 configs/rpi_0_w_defconfig > > diff --git a/arch/arm/dts/bcm2835-rpi-zero-w.dts > b/arch/arm/dts/bcm2835-rpi-zero-w.dts > new file mode 100644 > index 0000000..067cb31 > --- /dev/null > +++ b/arch/arm/dts/bcm2835-rpi-zero-w.dts > @@ -0,0 +1,33 @@ > +/dts-v1/; > +#include "bcm2835.dtsi" > +#include "bcm2835-rpi.dtsi" > +#include "bcm283x-rpi-usb-host.dtsi" > + > +/ { > + compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; > + model = "Raspberry Pi Zero W"; > + > + leds { > + act { > + gpios = <&gpio 47 0>; > + }; > + }; > +}; > + > +&gpio { > + pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>; DTC arch/arm/dts/bcm2835-rpi-zero-w.dtb arch/arm/dts/bcm2835-rpi-zero-w.dtb: ERROR (phandle_references): Reference to non-existent node or label "alt3" ERROR: Input tree has errors, aborting (use -f to force output) If I comment out alt3, it builds and boots okay. How to fix properly? > + > + /* I2S interface */ > + i2s_alt0: i2s_alt0 { > + brcm,pins = <18 19 20 21>; > + brcm,function = <BCM2835_FSEL_ALT0>; > + }; > +}; > + > +&uart1 { The v4.14 .dts file does not have this and does not seem to work. Does this need to go into a -uboot.dtsi file instead or do more files need a refresh? Regards, Andreas > + status = "okay"; > +}; > + > +&hdmi { > + hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; > +}; [snip] -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot