Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drivers for BeagleConnect/Greybus air-quality-demo #257

Open
wants to merge 135 commits into
base: 5.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
8e463e3
merge: can-isotp: https://github.com/hartkopp/can-isotp
RobertCNelson Dec 29, 2020
ae4b2ed
CAN_ISOTP: wire up to kconfig/makefile
RobertCNelson Jul 29, 2019
a9d28a2
merge: WireGuard
RobertCNelson Dec 29, 2020
7abae39
Add AM335x CM3 Power Managment Firmware
RobertCNelson Oct 9, 2019
a6c392b
Add BeagleBoard.org DTBS: v5.4.x-ti-overlays
RobertCNelson Dec 29, 2020
1428f1c
backports: greybus: from: linux.git
RobertCNelson Dec 29, 2020
112a9ca
backports: exfat: from: linux.git
RobertCNelson Dec 29, 2020
4001f03
backports: typec: from: linux.git
RobertCNelson Dec 29, 2020
9ca81d1
backports: brcm80211: from: linux.git
RobertCNelson Dec 29, 2020
172344a
brcmfmac: set F2 blocksize and watermark for 4373
WenChieh-Feng Jun 20, 2017
d2f6e05
non-upstream: add sg parameters dts parsing
cy-chihsien Aug 15, 2017
b91e27a
brcmfmac: set apsta to 0 when AP starts on primary interface
WenChieh-Feng Sep 11, 2017
d353c85
brcmfmac: support AP isolation
WenChieh-Feng Jan 31, 2018
b3965b3
brcmfmac: make firmware eap_restrict a module parameter
WenChieh-Feng Mar 2, 2018
7e779a9
non-upstream: support wake on ping packet
Feb 6, 2018
8e2d8da
non-upstream: remove WOWL configuration in disconnect state
Mar 13, 2018
76398f3
brcmfmac: make setting SDIO workqueue WQ_HIGHPRI a module parameter
WenChieh-Feng Mar 26, 2018
5acdf64
brcmfmac: remove "arp_hostip_clear" from "brcmf_netdev_stop"
WenChieh-Feng May 25, 2018
c5fae3c
brcmfmac: P2P CERT 6.1.9-Support GOUT handling P2P Presence Request
May 23, 2018
80206b8
brcmfmac: only generate random p2p address when needed
cy-chihsien Jun 1, 2018
13d4bc3
brcmfmac: increase max hanger slots from 1K to 3K in fws layer
May 24, 2018
c5a8b80
brcmfmac: map 802.1d priority to precedence level based on AP WMM params
saro78 Sep 13, 2017
2e8eb67
brcmfmac: set state of hanger slot to FREE when flushing PSQ
WenChieh-Feng Jul 24, 2018
21e0ebb
brcmfmac: add RSDB condition when setting interface combinations
WenChieh-Feng Dec 11, 2019
25d6a4e
brcmfmac: not set mbss in vif if firmware does not support MBSS
WenChieh-Feng Dec 11, 2019
a019130
brcmfmac: support the second p2p connection
WenChieh-Feng Jun 29, 2018
c243372
brcmfmac: add support for BCM4359 SDIO chipset
s-moch Dec 11, 2019
0ecd78e
brcmfmac: send port authorized event for FT-802.1X
May 9, 2019
54947fc
brcmfmac: add vendor ie for association responses
Aug 20, 2018
c26ea4e
brcmfmac: fix 4339 CRC error under SDIO 3.0 SDR104 mode
Sep 5, 2018
3cd37da
brcmfmac: fix the incorrect return value in brcmf_inform_single_bss().
Sep 4, 2018
97d79ab
brcmfmac: Fix double freeing in the fmac usb data path
Sep 7, 2018
86e6ee5
brcmfmac: Fix driver crash on USB control transfer timeout
Sep 7, 2018
ce6d014
brcmfmac: avoid network disconnection during suspend with linux-3.8 a…
Sep 13, 2018
541b37c
brcmfmac: allow credit borrowing for all access categories
Sep 12, 2018
ff5c2b4
non-upstream: Changes to improve USB Tx throughput.
Sep 12, 2018
235d5bd
brcmfmac: reset two D11 cores if chip has two D11 cores
WenChieh-Feng Dec 11, 2019
3b1e286
brcmfmac: introduce module parameter to configure default PM mode
cy-chihsien Sep 17, 2018
ce28f6e
brcmfmac: configure wowl parameters in suspend function only if firmw…
Sep 20, 2018
5976803
brcmfmac: keep SDIO watchdog running when console_interval is non-zero
WenChieh-Feng Nov 15, 2018
17dc218
brcmfmac: To fix kernel crash on out of boundary access
Nov 13, 2018
d75f940
brcmfmac: reduce maximum station interface from 2 to 1 in RSDB mode
WenChieh-Feng Nov 21, 2018
72b56f6
brcmfmac: validate ifp pointer in brcmf_txfinalize
WenChieh-Feng Nov 21, 2018
9c38ff6
brcmfmac: clean up iface mac descriptor before de-initializing it
WenChieh-Feng Nov 22, 2018
0f70803
brcmfmac: To fix Bss Info flag definition Bug
Dec 4, 2018
4da49b8
brcmfmac: disable command decode in sdio_aos for 4356
WenChieh-Feng Dec 17, 2018
7466704
brcmfmac: increase default max WOWL patterns to 16
Nov 8, 2018
d5d4eeb
non-upstream: Enable, Process, and forward PHY_TEMP event.
Dec 20, 2018
77bb17a
brcmfmac: Use FW priority definition to initialize WMM AC priority array
Jan 23, 2019
4a62d58
brcmfmac: Fix P2P Group Formation failure via Go-neg method
Jan 31, 2019
cc34bb6
brcmfmac: Add P2P Action Frame retry delay to fix GAS Comeback Respon…
Feb 27, 2019
14640db
brcmfmac: Use default FW priority when EDCA params same for all ACs
Feb 27, 2019
c7532d6
brcmfmac: fix continuous 802.1x tx pending timeout error
WenChieh-Feng Feb 27, 2019
5222fc2
brcmfmac: add sleep in bus suspend and cfg80211 resume functions
WenChieh-Feng Mar 7, 2019
ef3542f
brcmfmac: fix 43455 CRC error under SDIO 3.0 SDR104 mode
WenChieh-Feng Mar 8, 2019
21651b8
brcmfmac: set F2 blocksize and watermark for 4359
Dec 11, 2019
f21168a
brcmfmac: reserve 2 credits for host tx control path
Oct 15, 2018
f0ba829
brcmfmac: update tx status flags to sync with firmware
Jun 20, 2019
2afcc6b
brcmfmac: fix credit reserve for each access category
Jun 20, 2019
9e1778d
brcmfmac: fix throughput zero stalls on PM 1 mode due to credit map
Jun 27, 2019
bed0a2e
brcmfmac: 43012 Update MES Watermark
Aug 19, 2019
144f7cf
brcmfmac: add support for CYW89359 SDIO chipset
cy-chihsien Oct 8, 2019
4b24b39
brcmfmac: add CYW43570 PCIE device
Nov 4, 2019
eeb0ede
brcmfmac: Use seq/seq_len and set iv_initialize when plumbing of rxiv…
Nov 4, 2019
5aee53d
brcmfmac: use actframe_abort to cancel ongoing action frame
Nov 5, 2019
c11140c
brcmfmac: fix scheduling while atomic issue when deleting flowring
WenChieh-Feng Nov 6, 2019
0673a01
brcmfmac: increase message buffer size for control packets
chuangjiashyr Nov 6, 2019
dfba28e
brcmfmac: Support 89459 pcie
alep1983 Jul 26, 2019
4922148
brcmfmac: Fix for unable to return to visible SSID
Nov 7, 2019
8547859
brcmfmac: Fix for wrong disconnection event source information.
Nov 7, 2019
97c34ff
brcmfmac: add support for SAE authentication offload
Oct 2, 2019
fe050f8
brcmfmac: Support multiple AP interfaces and fix STA disconnection issue
Nov 6, 2019
7ab6625
brcmfmac: Support custom PCIE BAR window size.
Nov 5, 2019
b7fc807
brcmfmac: set F2 blocksize and watermark for 4354
Nov 25, 2019
b620685
brcmfmac: support for virtual interface creation from firmware
Dec 10, 2019
8fa2741
brcmfmac: set security after reiniting interface
chuangjiashyr Dec 12, 2019
9ee88be
brcmfmac: increase dcmd maximum buffer size
Dec 16, 2019
0e8bb40
brcmfmac: set F2 blocksize and watermark for 4356 SDIO
Dec 18, 2019
53c5ff0
brcmfmac: set net carrier on via test tool for AP mode
Dec 31, 2019
dbfdba9
nl80211: add authorized flag back to ROAM event
Feb 14, 2019
ef387eb
brcmfmac: set authorized flag in ROAM event for offload FT roaming
Feb 14, 2019
c72a828
brcmfmac: set authorized flag in ROAM event for PMK caching
Mar 4, 2019
9ed16b3
nl80211: add authorized flag to CONNECT event
Apr 30, 2019
3e4727b
brcmfmac: set authorized flag in CONNECT event for PMK caching
Apr 30, 2019
53b7900
brcmfmac: add support for Opportunistic Key Caching
May 28, 2019
96fa9cf
nl80211: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode
Dec 10, 2019
f097adf
brcmfmac: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode
Dec 10, 2019
d1ef613
nl80211: support SAE authentication offload in AP mode
Dec 10, 2019
d81977f
brcmfmac: support SAE authentication offload in AP mode
Dec 10, 2019
5248286
brcmfmac: add USB autosuspend feature support
WenChieh-Feng Feb 7, 2020
adfef23
brcmfmac: To support printing USB console messages
Nov 7, 2018
0099240
brcmfmac: reset SDIO bus on a firmware crash
cy-chihsien Nov 4, 2019
b3d51c7
brcmfmac: fix for WPA/WPA2-PSK 4-way handshake and SAE offload failures
Feb 17, 2020
6a2246e
non-upstream: Fix no P2P IE in probe requests issue
Feb 21, 2020
1a88919
brcmfmac: add 54591 PCIE device
Feb 26, 2020
c9ed6dd
brcmfmac: support DS1 exit firmware re-download
praveenCY Jan 9, 2018
659d520
brcmfmac: fix 43012 insmod-after-rmmod in DS1 failure.
Aug 21, 2018
bc06d7d
brcmfmac: fix 43012 driver reload failure after DS1 exit
Jan 28, 2019
140ee7e
brcmfmac: reset PMU, backplane & all cores in CYW4373 during rmmod
Aug 28, 2018
dd8f661
brcmfmac: do not disconnect for disassoc frame from unconnected AP
Feb 20, 2020
ee68f32
brcmfmac: Set pacing shift before transmitting skb to bus
WenChieh-Feng Mar 6, 2020
a6c3f15
brcmfmac: fix 802.1d priority to ac mapping for pcie dongles
Aug 2, 2019
14156a8
non-upstream: calling skb_orphan before sending skb to SDIO bus
WenChieh-Feng Jan 2, 2018
b86bd27
non-upstream: workaround for 4373 USB WMM 5.2.27 test failure
Jan 4, 2019
e8eb9fa
brcmfmac: disable command decode in sdio_aos for 4373
cy-chihsien Mar 13, 2020
6777477
brcmfmac: disable command decode in sdio_aos for 4339
cy-chihsien Mar 13, 2020
228dbf1
brcmfmac: disable command decode in sdio_aos for 43455
cy-chihsien Mar 13, 2020
e1b2145
brcmfmac: support the forwarding packet
chuangjiashyr Aug 22, 2019
8c5352d
brcmfmac: add a variable for packet forwarding condition
Mar 20, 2020
149b1c8
non-upstream: don't change arp/nd offload in multicast_work
Apr 2, 2020
5968325
cleanup brcmfmac patchset
RobertCNelson Apr 6, 2020
035edbb
ar1021_i2c.c: introduce invert/swap/offsets options
RobertCNelson Apr 22, 2020
bbd8b48
Fix remoteproc to work with the PRU GNU Binutils port
dinuxbg Aug 31, 2016
c0f4dc0
sound: give us SND_SOC_PCM5102A
RobertCNelson Apr 22, 2020
4e63b4e
NFM: spi: spidev: allow use of spidev in DT
RobertCNelson Oct 28, 2018
fa26612
HACK: tps65217_pwr_but
RobertCNelson Oct 28, 2016
102c90c
ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used
pantoniou Dec 6, 2014
683733f
cpsw: search for phy
May 19, 2015
957f592
quiet: 8250_omap.c use pr_info over pr_err
RobertCNelson Jul 16, 2015
998b50a
ti_am335x_tsc.c driver
Jan 3, 2018
4f69a41
ti_am335x_tsc: correct formula code to calculate pressure; fix touchs…
fagle May 11, 2017
18b0fba
BeagleBone pinmux helper
RobertCNelson Jan 29, 2018
ef8a288
hack: gpiolib: yes we have drivers stomping on each other, we need to…
RobertCNelson Dec 31, 2018
5b9f34f
Overlays: Port RPi Overlay building
RobertCNelson Jul 27, 2020
58c19fb
bootup hacks: move mmc early
RobertCNelson Mar 18, 2020
8df3586
bootup-hacks: xor select neon or arm4regs
RobertCNelson Mar 19, 2020
07d679b
builddeb: Install our dtbs under /boot/dtbs/$version
RobertCNelson Mar 6, 2020
c1748d4
enable: Jenkins: http://gfnd.rcn-ee.org:8080
RobertCNelson Dec 29, 2020
01cc45c
5.4.70-ti-r20 patchset
RobertCNelson Dec 29, 2020
8297e66
5.4.70-ti-r20
RobertCNelson Dec 29, 2020
c87f1b1
RFC : mikroBUS driver for add-on boards
vaishnavachath Jul 20, 2020
ccae755
mikroBUS build fixes
Aug 27, 2020
e0707fe
Add hm3301 driver from Seeed
jadonk Jan 3, 2021
f3a8e2f
Add WPANUSB driver
jadonk Jan 3, 2021
8b1c65f
Add scd30 driver
jadonk Jan 12, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: beagleboard # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: beagleboard # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://paypal.me/beagleboard # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Describe how to reproduce the bug**
List all the steps needed to reproduce the bug

**REQUIRED INFORMATION**
Run this command and paste the output here:
```
sudo /opt/scripts/tools/version.sh
```
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pipeline {
agent any

stages {
stage('Build') {
steps {
sh '/bin/bash ./jenkins_build.sh'
}
}
}
}
6 changes: 6 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -10866,6 +10866,12 @@ M: Oliver Neukum <[email protected]>
S: Maintained
F: drivers/usb/image/microtek.*

MIKROBUS ADDON BOARD DRIVER
M: Vaishnav M A <[email protected]>
S: Maintained
W: https://elinux.org/Mikrobus
F: drivers/misc/mikrobus/

MIPS
M: Ralf Baechle <[email protected]>
M: Paul Burton <[email protected]>
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1261,10 +1261,11 @@ endif

ifneq ($(dtstree),)

%.dtb %.dtbo: dtbdir=$(patsubst %/,%,$(patsubst %./,%,$(dtstree)/$(dir $@)))
%.dtb: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@

%.dtb %.dtbo: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtbdir) $(dtstree)/$@
%.dtbo: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@

PHONY += dtbs dtbs_install dtbs_check
dtbs: include/config/kernel.release scripts_dtc
Expand Down Expand Up @@ -1744,7 +1745,6 @@ clean: $(clean-dirs)
\( -name '*.[aios]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '*.ko.*' \
-o -name '*.dtb' -o -name '*.dtb.S' -o -name '*.dt.yaml' \
-o -name '*.dtbo' -o -name '*.dtbo.S' \
-o -name '*.dwo' -o -name '*.lst' \
-o -name '*.su' -o -name '*.mod' -o -name '*.ns_deps' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
| kernel | normal | rt |
|:---------:|:--------:|:-------:|
|4.4 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.4)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.4/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.4-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.4-rt/) |
|4.9 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.9)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.9/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.9-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.9-rt/) |
|4.14 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.14)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.14/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.14-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.14-rt/) |
|4.19 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.19)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.19/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.19-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.19-rt/) |
|5.4 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/5.4)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/5.4/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/5.4-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/5.4-rt/) |
4 changes: 4 additions & 0 deletions arch/arm/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export ZRELADDR INITRD_PHYS PARAMS_PHYS

targets := Image zImage xipImage bootpImage uImage

ifeq ($(CONFIG_OF_OVERLAY),y)
DTC_FLAGS += -@
endif

ifeq ($(CONFIG_XIP_KERNEL),y)

cmd_deflate_xip_data = $(CONFIG_SHELL) -c \
Expand Down
22 changes: 14 additions & 8 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# SPDX-License-Identifier: GPL-2.0

ifeq ($(CONFIG_OF_OVERLAY),y)
DTC_FLAGS += -@
endif

dtb-$(CONFIG_ARCH_ALPINE) += \
alpine-db.dtb
dtb-$(CONFIG_MACH_ARTPEC6) += \
Expand Down Expand Up @@ -740,6 +745,12 @@ dtb-$(CONFIG_SOC_AM33XX) += \
am335x-base0033.dtb \
am335x-bone.dtb \
am335x-boneblack.dtb \
am335x-bonegreen-gateway.dtb \
am335x-bonegreen-wireless-uboot-univ.dtb \
am335x-boneblack-uboot-univ.dtb \
am335x-boneblack-uboot.dtb \
am335x-bone-uboot-univ.dtb \
am335x-abbbi.dtb \
am335x-boneblack-wireless.dtb \
am335x-boneblack-prusuart.dtb \
am335x-boneblue.dtb \
Expand Down Expand Up @@ -1334,12 +1345,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-portwell-neptune.dtb \
aspeed-bmc-quanta-q71l.dtb

always += $(dtb-merge-y)

$(addprefix $(obj)/,$(dtb-merge-y)): TI_DTBOS
@$(srctree)/scripts/dtb-merge $(srctree) $(objtree) $@ $(objtree)/scripts/dtc/fdtoverlay $(src)/ti

TI_DTBOS:
$(Q)$(MAKE) $(build)=$(src)/ti
targets += dtbs dtbs_install
targets += $(dtb-y)

PHONY += TI_DTBOS
subdir-y := overlays
164 changes: 164 additions & 0 deletions arch/arm/boot/dts/am335x-abbbi.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
* Copyright 2015 Konsulko Group
*/
/dts-v1/;

#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"

/ {
model = "Arrow BeagleBone Black Industrial";
compatible = "arrow,am335x-abbbi", "ti,am335x-bone", "ti,am33xx";

chosen {
base_dtb = "am335x-abbbi.dts";
base_dtb_timestamp = __TIMESTAMP__;
};
};

&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};

&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};

&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
};

&am33xx_pinmux {
adi_hdmi_bbbi_pins: adi_hdmi_bbbi_pins {
pinctrl-single,pins = <
AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
>;
};

mcasp0_pins: mcasp0_pins {
pinctrl-single,pins = <
AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLUP, MUX_MODE0) /* mcasp0_ahcklx.mcasp0_ahclkx */
AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* mcasp0_ahclkr.mcasp0_axr2*/
AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_OUTPUT_PULLUP, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_a11.GPIO1_27 */
>;
};
};

&lcdc {
status = "okay";

/* If you want to get 24 bit RGB and 16 BGR mode instead of
* current 16 bit RGB and 24 BGR modes, set the propety
* below to "crossed" and uncomment the video-ports -property
* in tda19988 node.
*/
blue-and-red-wiring = "straight";

port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
};
};
};

&i2c0 {
adv7511: adv7511@39 {
compatible = "adi,adv7511";
reg = <0x39>;

pinctrl-names = "default";
pinctrl-0 = <&adi_hdmi_bbbi_pins>;

/* Convert 24bit BGR to RGB, e.g. cross red and blue wiring */
/* video-ports = <0x234501>; */

#sound-dai-cells = <0>;

ports {
port@0 {
hdmi_0: endpoint@0 {
remote-endpoint = <&lcdc_0>;
};
};
};
};
};

&rtc {
system-power-controller;
};

&mcasp0 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&mcasp0_pins>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 1 0
>;
tx-num-evt = <1>;
rx-num-evt = <1>;
};

/ {
clk_mcasp0_fixed: clk_mcasp0_fixed {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24576000>;
};

clk_mcasp0: clk_mcasp0 {
#clock-cells = <0>;
compatible = "gpio-gate-clock";
clocks = <&clk_mcasp0_fixed>;
enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
};

sound {
compatible = "simple-audio-card";
simple-audio-card,name = "TI BeagleBone Black";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&dailink0_master>;
simple-audio-card,frame-master = <&dailink0_master>;

dailink0_master: simple-audio-card,cpu {
sound-dai = <&mcasp0>;
clocks = <&clk_mcasp0>;
};

simple-audio-card,codec {
sound-dai = <&adv7511>;
};
};
};
Loading