1*b3f8e88fSPhilippe Reynes* broadcom bcm6838 pinctrl 2*b3f8e88fSPhilippe Reynes 3*b3f8e88fSPhilippe ReynesRequired properties for the pinctrl driver: 4*b3f8e88fSPhilippe Reynes- compatible: "brcm,bcm6838-pinctrl" 5*b3f8e88fSPhilippe Reynes- regmap: specify the gpio test port syscon 6*b3f8e88fSPhilippe Reynes- brcm,pins-count: the number of pin 7*b3f8e88fSPhilippe Reynes- brcm,functions-count: the number of function 8*b3f8e88fSPhilippe Reynes 9*b3f8e88fSPhilippe ReynesPlease refer to pinctrl-bindings.txt in this directory for details of the 10*b3f8e88fSPhilippe Reynescommon pinctrl bindings used by client devices. 11*b3f8e88fSPhilippe Reynes 12*b3f8e88fSPhilippe ReynesExample: 13*b3f8e88fSPhilippe Reynes 14*b3f8e88fSPhilippe Reynes gpio_test_port: syscon@14e00294 { 15*b3f8e88fSPhilippe Reynes compatible = "syscon"; 16*b3f8e88fSPhilippe Reynes reg = <0x14e00294 0x1c>; 17*b3f8e88fSPhilippe Reynes }; 18*b3f8e88fSPhilippe Reynes 19*b3f8e88fSPhilippe Reynes pinctrl: pinctrl { 20*b3f8e88fSPhilippe Reynes compatible = "brcm,bcm6838-pinctrl"; 21*b3f8e88fSPhilippe Reynes regmap = <&gpio_test_port>; 22*b3f8e88fSPhilippe Reynes brcm,pins-count = <74>; 23*b3f8e88fSPhilippe Reynes brcm,functions-count = <8>; 24*b3f8e88fSPhilippe Reynes 25*b3f8e88fSPhilippe Reynes usb0: usb0 { 26*b3f8e88fSPhilippe Reynes usb0_pwrflt { 27*b3f8e88fSPhilippe Reynes pins = "69"; 28*b3f8e88fSPhilippe Reynes function = "1"; 29*b3f8e88fSPhilippe Reynes }; 30*b3f8e88fSPhilippe Reynes usb0_pwron { 31*b3f8e88fSPhilippe Reynes pins = "70"; 32*b3f8e88fSPhilippe Reynes function = "1"; 33*b3f8e88fSPhilippe Reynes }; 34*b3f8e88fSPhilippe Reynes }; 35*b3f8e88fSPhilippe Reynes }; 36