Hi Jacopo, On Tuesday, February 21, 2017, jacopo mondi wrote: > > + gpio-controller; > > + #gpio-cells = <2>; > > + gpio-ranges = <&pinctrl 0 0 16>; > > Not all ports have 16 pins available. > This is one of the differences between different RZ/A1 SoC versions > (RZ/A1H, RZ/A1L etc) > > I'll change the number of pins to the actual available ones on each port > for r7s72100 (RZ/A1H) But wait, what if someone wants to use a RZ/A1L??? I don't want to make a separate dtsi file for RZ/A1L. Is it possible to change the number of port pins in the board dts file? For example: RZ/A1H: P5_0 - P5_10 RZ/A1L: P5_0 - P5_16 So, in a rza1l-board.dts file I would put: &port5 { gpio-ranges = <&pinctrl 0 80 16>; } Will this work? Chris