linux/arch/arm/boot/dts/stih410-pinctrl.dtsi
Patrice Chotard d6d854cc1c ARM: dts: STi: Fix bindings notation
Remove leading 0x and 0s from bindings notation
Add missing unit-address and remove some which are useless.

This allows to fix several warnings like :

Warning (unit_address_vs_reg): Node XXXX has a reg or ranges property, but no unit name
Warning (simple_bus_reg): Node XXXX simple-bus unit address format error, expected "123456"
Warning (unit_address_vs_reg): Node XXXX has a unit name, but no reg property

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
2018-02-12 15:24:26 +01:00

35 lines
699 B
Plaintext

/*
* Copyright (C) 2014 STMicroelectronics Limited.
* Author: Peter Griffin <peter.griffin@linaro.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publishhed by the Free Software Foundation.
*/
#include "st-pincfg.h"
/ {
soc {
pin-controller-rear@922f080 {
usb0 {
pinctrl_usb0: usb2-0 {
st,pins {
usb-oc-detect = <&pio35 0 ALT1 IN>;
usb-pwr-enable = <&pio35 1 ALT1 OUT>;
};
};
};
usb1 {
pinctrl_usb1: usb2-1 {
st,pins {
usb-oc-detect = <&pio35 2 ALT1 IN>;
usb-pwr-enable = <&pio35 3 ALT1 OUT>;
};
};
};
};
};
};