-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BCM270X_DT: Overlay for the Fen Logic VGA666 board
The VGA666 board requires GPIOs 2-21 (so no I2C or UART). Using the overlay (instead of a custom dt-blob.bin) has the advantage that it will reserve those pins and stop other devices using them (except for GPIO), but it does delay the point at which the output becomes valid until 2-3 seconds after the kernel has started.
- Loading branch information
1 parent
2bff4cf
commit b303db9
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/{ | ||
compatible = "brcm,bcm2708"; | ||
|
||
// There is no VGA driver module, but we need a platform device | ||
// node (that doesn't already use pinctrl) to hang the pinctrl | ||
// reference on - leds will do | ||
|
||
fragment@0 { | ||
target = <&leds>; | ||
__overlay__ { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&vga666_pins>; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&gpio>; | ||
__overlay__ { | ||
vga666_pins: vga666_pins { | ||
brcm,pins = <2 3 4 5 6 7 8 9 10 11 12 | ||
13 14 15 16 17 18 19 20 21>; | ||
brcm,function = <6>; /* alt2 */ | ||
brcm,pull = <0>; /* no pull */ | ||
}; | ||
}; | ||
}; | ||
}; |