Skip to content

Instantly share code, notes, and snippets.

@giuliomoro
Created April 26, 2017 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giuliomoro/0b553fd15611a439c3eef6115b3e2122 to your computer and use it in GitHub Desktop.
Save giuliomoro/0b553fd15611a439c3eef6115b3e2122 to your computer and use it in GitHub Desktop.
This is the diff between the stock BBBW and the BBBW that works for me for Bela on 4.4.61 (I basically diffed BBB vs BBG and tried to disable the same things (HDMI, some McASP) in the BBBW:
diff --git a/bbbw.bak b/bbbw
index 91791c1..7e1e10e 100644
--- a/bbbw.bak
+++ b/bbbw
@@ -989,18 +989,6 @@
phandle = <0x32>;
};
- nxp_hdmi_bonelt_pins {
- pinctrl-single,pins = <0x1b0 0x3 0xa0 0x8 0xa4 0x8 0xa8 0x8 0xac 0x8 0xb0 0x8 0xb4 0x8 0xb8 0x8 0xbc 0x8 0xc0 0x8 0xc4 0x8 0xc8 0x8 0xcc 0x8 0xd0 0x8 0xd4 0x8 0xd8 0x8 0xdc 0x8 0xe0 0x0 0xe4 0x0 0xe8 0x0 0xec 0x0>;
- linux,phandle = <0x34>;
- phandle = <0x34>;
- };
-
- nxp_hdmi_bonelt_off_pins {
- pinctrl-single,pins = <0x1b0 0x3>;
- linux,phandle = <0x35>;
- phandle = <0x35>;
- };
-
mcasp0_pins {
pinctrl-single,pins = <0x1ac 0x30 0x19c 0x2 0x194 0x10 0x190 0x0 0x6c 0x7>;
linux,phandle = <0x54>;
@@ -1505,29 +1493,6 @@
};
};
- tda19988 {
- compatible = "nxp,tda998x";
- reg = <0x70>;
- pinctrl-names = "default", "off";
- pinctrl-0 = <0x34>;
- pinctrl-1 = <0x35>;
- #sound-dai-cells = <0x0>;
- audio-ports = <0x2 0x3>;
- linux,phandle = <0x63>;
- phandle = <0x63>;
-
- ports {
-
- port@0 {
-
- endpoint@0 {
- remote-endpoint = <0x36>;
- linux,phandle = <0x53>;
- phandle = <0x53>;
- };
- };
- };
- };
};
i2c@4802a000 {
@@ -2314,17 +2279,9 @@
reg-names = "mpu", "dat";
interrupts = <0x50 0x51>;
interrupt-names = "tx", "rx";
- status = "okay";
+ status = "disabled";
dmas = <0x2c 0x8 0x2 0x2c 0x9 0x2>;
dma-names = "tx", "rx";
- #sound-dai-cells = <0x0>;
- pinctrl-names = "default";
- pinctrl-0 = <0x54>;
- op-mode = <0x0>;
- tdm-slots = <0x2>;
- serial-dir = <0x0 0x0 0x1 0x0>;
- tx-num-evt = <0x20>;
- rx-num-evt = <0x20>;
linux,phandle = <0x61>;
phandle = <0x61>;
};
@@ -2456,42 +2413,6 @@
compatible = "btwilink";
};
- clk_mcasp0_fixed {
- #clock-cells = <0x0>;
- compatible = "fixed-clock";
- clock-frequency = <0x1770000>;
- linux,phandle = <0x5f>;
- phandle = <0x5f>;
- };
-
- clk_mcasp0 {
- #clock-cells = <0x0>;
- compatible = "gpio-gate-clock";
- clocks = <0x5f>;
- enable-gpios = <0x58 0x1b 0x0>;
- linux,phandle = <0x62>;
- phandle = <0x62>;
- };
-
- sound {
- compatible = "simple-audio-card";
- simple-audio-card,name = "TI BeagleBone Black";
- simple-audio-card,format = "i2s";
- simple-audio-card,bitclock-master = <0x60>;
- simple-audio-card,frame-master = <0x60>;
-
- simple-audio-card,cpu {
- sound-dai = <0x61>;
- clocks = <0x62>;
- linux,phandle = <0x60>;
- phandle = <0x60>;
- };
-
- simple-audio-card,codec {
- sound-dai = <0x63>;
- };
- };
-
__symbols__ {
mpu_gate = "/cpus/idle-states/mpu_gate";
cpu0_opp_table = "/opp_table0";
@@ -2590,9 +2511,6 @@
wlan_pins_sleep = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wlan_pins_sleep";
uart3_pins_default = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_uart3_pins_default";
uart3_pins_sleep = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_uart3_pins_sleep";
- nxp_hdmi_bonelt_pins = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nxp_hdmi_bonelt_pins";
- nxp_hdmi_bonelt_off_pins = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nxp_hdmi_bonelt_off_pins";
- mcasp0_pins = "/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/mcasp0_pins";
scm_conf = "/ocp/l4_wkup@44c00000/scm@210000/scm_conf@0";
scm_clocks = "/ocp/l4_wkup@44c00000/scm@210000/scm_conf@0/clocks";
sys_clkin_ck = "/ocp/l4_wkup@44c00000/scm@210000/scm_conf@0/clocks/sys_clkin_ck";
@@ -2639,8 +2557,6 @@
ldo4_reg = "/ocp/i2c@44e0b000/tps@24/regulators/regulator@6";
baseboard_eeprom = "/ocp/i2c@44e0b000/baseboard_eeprom@50";
baseboard_data = "/ocp/i2c@44e0b000/baseboard_eeprom@50/baseboard_data@0";
- tda19988 = "/ocp/i2c@44e0b000/tda19988";
- hdmi_0 = "/ocp/i2c@44e0b000/tda19988/ports/port@0/endpoint@0";
i2c1 = "/ocp/i2c@4802a000";
i2c2 = "/ocp/i2c@4819c000";
cape_eeprom0 = "/ocp/i2c@4819c000/cape_eeprom0@54";
@@ -2716,8 +2632,5 @@
baseboard_beaglebone = "/bone_capemgr/baseboardmaps/board@0";
baseboard_beaglebone_black = "/bone_capemgr/baseboardmaps/board@1";
wlan_en_reg = "/fixedregulator@2";
- clk_mcasp0_fixed = "/clk_mcasp0_fixed";
- clk_mcasp0 = "/clk_mcasp0";
- dailink0_master = "/sound/simple-audio-card,cpu";
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment