Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * Copyright (C) 2014 STMicroelectronics Limited.
 4 * Author: Peter Griffin <peter.griffin@linaro.org>
 
 
 
 
 5 */
 6#include "st-pincfg.h"
 7/ {
 8
 9	soc {
10		pin-controller-rear@922f080 {
11
12			usb0 {
13				pinctrl_usb0: usb2-0 {
14					st,pins {
15						usb-oc-detect = <&pio35 0 ALT1 IN>;
16						usb-pwr-enable = <&pio35 1 ALT1 OUT>;
17					};
18				};
19			};
20
21			usb1 {
22				pinctrl_usb1: usb2-1 {
23					st,pins {
24						usb-oc-detect = <&pio35 2 ALT1 IN>;
25						usb-pwr-enable = <&pio35 3 ALT1 OUT>;
26					};
27				};
28			};
29		};
30	};
31};
v4.10.11
 
 1/*
 2 * Copyright (C) 2014 STMicroelectronics Limited.
 3 * Author: Peter Griffin <peter.griffin@linaro.org>
 4 *
 5 * This program is free software; you can redistribute it and/or modify
 6 * it under the terms of the GNU General Public License version 2 as
 7 * publishhed by the Free Software Foundation.
 8 */
 9#include "st-pincfg.h"
10/ {
11
12	soc {
13		pin-controller-rear {
14
15			usb0 {
16				pinctrl_usb0: usb2-0 {
17					st,pins {
18						usb-oc-detect = <&pio35 0 ALT1 IN>;
19						usb-pwr-enable = <&pio35 1 ALT1 OUT>;
20					};
21				};
22			};
23
24			usb1 {
25				pinctrl_usb1: usb2-1 {
26					st,pins {
27						usb-oc-detect = <&pio35 2 ALT1 IN>;
28						usb-pwr-enable = <&pio35 3 ALT1 OUT>;
29					};
30				};
31			};
32		};
33	};
34};