Skip to content

Instantly share code, notes, and snippets.

@jayeye
Last active May 12, 2016 19:07
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 jayeye/00e45ae5534357d7098e25778106b5c0 to your computer and use it in GitHub Desktop.
Save jayeye/00e45ae5534357d7098e25778106b5c0 to your computer and use it in GitHub Desktop.
I2S microphone input on Pi2/Pi3 woes
/dts-v1/;
// magic: 0xd00dfeed
// totalsize: 0x37b3 (14259)
// off_dt_struct: 0x38
// off_dt_strings: 0x31c0
// off_mem_rsvmap: 0x28
// version: 17
// last_comp_version: 16
// boot_cpuid_phys: 0x0
// size_dt_strings: 0x5f3
// size_dt_struct: 0x3188
/ {
memreserve = <0x2f000000 0x00000000>;
#address-cells = <0x00000001>;
#size-cells = <0x00000001>;
interrupt-parent = <0x00000001>;
compatible = "brcm,bcm2709";
model = "Raspberry Pi 2 Model B Rev 1.1";
display {
broadcom,depth = <0x00000010>;
broadcom,height = <0x00000000>;
broadcom,width = <0x00000000>;
};
system {
linux,serial = <0x00000000 0x0000058b>;
linux,revision = <0x00a21041>;
};
axi {
dma {
broadcom,channels = <0x00007f35>;
};
usb {
hub {
ethernet {
mac-address = [b8 27 eb 35 b5 ae];
};
};
};
vc_mem {
reg = <0x3dc00000 0x00000002 0x00000003>;
};
};
chosen {
bootargs = "dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0xdc35b5ae smsc95xx.macaddr=B8:27:EB:35:B5:AE bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait";
};
aliases {
serial1 = "/soc/uart@7e215040";
serial0 = "/soc/uart@7e201000";
i2c_arm = "/soc/i2c@7e804000";
i2c = "/soc/i2c@7e804000";
i2c_vc = "/soc/i2c@7e205000";
audio = "/audio";
aux = "/soc/aux@0x7e215004";
sound = "/sound";
soc = "/soc";
dma = "/soc/dma@7e007000";
intc = "/soc/interrupt-controller@7e00b200";
watchdog = "/soc/watchdog@7e100000";
random = "/soc/rng@7e104000";
mailbox = "/soc/mailbox@7e00b800";
gpio = "/soc/gpio@7e200000";
uart0 = "/soc/uart@7e201000";
sdhost = "/soc/sdhost@7e202000";
i2s = "/soc/i2s@7e203000";
spi0 = "/soc/spi@7e204000";
i2c0 = "/soc/i2c@7e205000";
uart1 = "/soc/uart@7e215040";
spi1 = "/soc/spi@7e215080";
spi2 = "/soc/spi@7e2150C0";
mmc = "/soc/mmc@7e300000";
i2c1 = "/soc/i2c@7e804000";
i2c2 = "/soc/i2c@7e805000";
usb = "/soc/usb@7e980000";
leds = "/soc/leds";
fb = "/soc/fb";
vchiq = "/soc/vchiq";
thermal = "/soc/thermal";
clocks = "/clocks";
};
memory {
device_type = "memory";
reg = <0x00000000 0x61756469>;
};
audio {
compatible = "brcm,bcm2835-audio";
brcm,pwm-channels = <0x00000008>;
status = "okay";
phandle = <0x00000023>;
};
sound {
phandle = <0x00000027>;
};
soc {
compatible = "simple-bus";
#address-cells = <0x00000001>;
#size-cells = <0x00000001>;
ranges = <0x7e000000 0x40000000 0x00000103 0x37653030 0x00000011 0x32383335>;
phandle = <0x00000028>;
dma@7e007000 {
compatible = "brcm,bcm2835-dma";
reg = <0x7e007000 0x00000112>;
interrupts = <0x00000001 0x00000001 0x00000001 0x00000001 0x00000001 0x00000001 0x00000003 0x00000003 0x00000003 0x00000002 0x742d636f 0x30623230 0x0000002c 0x2d61726d 0x00000008 0x00000003 0x00000004 0x00000004 0x00000004 0x00000004 0x00000001 0x62383030 0x0000002c 0x2d6d626f>;
#dma-cells = <0x00000001>;
brcm,dma-channel-mask = <0x00000f35>;
phandle = <0x00000007>;
};
interrupt-controller@7e00b200 {
compatible = "brcm,bcm2836-armctrl-ic";
reg = <0x7e00b200 0x0000013e>;
interrupt-controller;
#interrupt-cells = <0x00000002>;
interrupt-parent = <0x00000002>;
interrupts = <0x00000008>;
phandle = <0x00000001>;
};
mailbox@7e00b800 {
compatible = "brcm,bcm2835-mbox";
reg = <0x7e00b880 0x00000112>;
interrupts = <0x00000000 0x00000164>;
#mbox-cells = <0x00000000>;
phandle = <0x00000013>;
};
watchdog@7e100000 {
compatible = "brcm,bcm2835-pm-wdt";
reg = <0x7e100000 0x000000fc>;
status = "okay";
phandle = <0x00000024>;
};
cprman@7e101000 {
compatible = "brcm,bcm2835-cprman";
#clock-cells = <0x00000001>;
reg = <0x7e101000 0x000000d3>;
clocks = <0x00000003>;
status = "disabled";
phandle = <0x00000029>;
};
rng@7e104000 {
compatible = "brcm,bcm2835-rng";
reg = <0x7e104000 0x000000fc>;
status = "okay";
phandle = <0x00000025>;
};
gpio@7e200000 {
compatible = "brcm,bcm2835-gpio";
reg = <0x7e200000 0x00000112>;
interrupts = <0x00000002 0x00000003 0x00000004 0x00000000>;
gpio-controller;
#gpio-cells = <0x00000002>;
interrupt-controller;
#interrupt-cells = <0x00000002>;
phandle = <0x0000000a>;
sdhost_pins {
brcm,pins = <0x00000030 0x00000034 0x000001a3 0x00000103 0x73706930 0x0000000c>;
brcm,function = <0x00000004>;
phandle = <0x00000008>;
};
spi0_pins {
brcm,pins = <0x00000009 0x00000004 0x00000004>;
brcm,function = <0x00000004>;
phandle = <0x0000000b>;
};
spi0_cs_pins {
brcm,pins = <0x00000008 0x000001a3>;
brcm,function = <0x00000001>;
phandle = <0x0000000c>;
};
i2c0 {
brcm,pins = <0x00000000 0x000001a3>;
brcm,function = <0x00000004>;
phandle = <0x0000000d>;
};
i2c1 {
brcm,pins = <0x00000002 0x000001a3>;
brcm,function = <0x00000004>;
phandle = <0x00000012>;
};
i2s {
brcm,pins = <0x00000012 0x00000003 0x00000003 0x00000002>;
brcm,function = <0x00000004>;
phandle = <0x00000009>;
};
};
uart@7e201000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x7e201000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000004 0x000001b1>;
clock-names = "uartclk", "apb_pclk";
arm,primecell-periphid = <0x00241011>;
status = "okay";
phandle = <0x0000001a>;
};
sdhost@7e202000 {
compatible = "brcm,bcm2835-sdhost";
reg = <0x7e202000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000006>;
dmas = <0x00000007 0x000001d9>;
dma-names = "rx-tx";
brcm,overclock-50 = <0x00000000>;
brcm,pio-limit = <0x00000001>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x00000008>;
bus-width = <0x00000004>;
phandle = <0x00000026>;
};
i2s@7e203000 {
brcm,enable-mmap;
compatible = "brcm,bcm2835-i2s";
reg = <0x7e203000 0x00000003 0x00000002 0x00000006>;
dmas = <0x00000007 0x00000003 0x78000000 0x6f6b6179>;
dma-names = "tx", "rx";
status = "okay";
#sound-dai-cells = <0x00000000>;
pinctrl-names = "default";
pinctrl-0 = <0x00000009>;
phandle = <0x0000001c>;
};
spi@7e204000 {
compatible = "brcm,bcm2835-spi";
reg = <0x7e204000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000006>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "okay";
dmas = <0x00000007 0x00000003 0x78000000 0x0000000a>;
dma-names = "tx", "rx";
cs-gpios = <0x0000000a 0x00000007 0x00000204 0x00000008 0x00000003 0x00000001>;
pinctrl-names = "default";
pinctrl-0 = <0x0000000b 0x00000103>;
phandle = <0x0000001d>;
spidev@0 {
compatible = "spidev";
reg = <0x00000000>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
spi-max-frequency = <0x0007a120>;
phandle = <0x0000002a>;
};
spidev@1 {
compatible = "spidev";
reg = <0x00000001>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
spi-max-frequency = <0x0007a120>;
phandle = <0x0000002b>;
};
};
i2c@7e205000 {
compatible = "brcm,bcm2708-i2c";
reg = <0x7e205000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000006>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <0x0000000d>;
clock-frequency = <0x000186a0>;
phandle = <0x0000001e>;
};
pwm@7e20c000 {
compatible = "brcm,bcm2835-pwm";
reg = <0x7e20c000 0x000000d3>;
clocks = <0x0000000e>;
#pwm-cells = <0x00000002>;
status = "disabled";
phandle = <0x0000002c>;
};
aux@0x7e215004 {
compatible = "brcm,bcm2835-aux";
#clock-cells = <0x00000001>;
reg = <0x7e215000 0x000000d3>;
clocks = <0x00000006>;
status = "disabled";
phandle = <0x00000010>;
};
uart@7e215040 {
compatible = "brcm,bcm2835-aux-uart", "ns16550";
reg = <0x7e215040 0x00000112>;
interrupts = <0x00000001 0x000000d3>;
clocks = <0x0000000f>;
reg-shift = <0x00000002>;
no-loopback-test;
status = "disabled";
phandle = <0x0000001b>;
};
spi@7e215080 {
compatible = "brcm,bcm2835-aux-spi";
reg = <0x7e215080 0x00000003 0x0000001d 0x00000010>;
interrupts = <0x00000001 0x000000d3>;
clocks = <0x00000010 0x00000000>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "disabled";
phandle = <0x0000002d>;
};
spi@7e2150C0 {
compatible = "brcm,bcm2835-aux-spi";
reg = <0x7e2150c0 0x00000003 0x0000001d 0x00000010>;
interrupts = <0x00000001 0x000000d3>;
clocks = <0x00000010 0x00000000>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "disabled";
phandle = <0x0000002e>;
};
mmc@7e300000 {
compatible = "brcm,bcm2835-mmc";
reg = <0x7e300000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000011>;
dmas = <0x00000007 0x000001d9>;
dma-names = "rx-tx";
brcm,overclock-50 = <0x00000000>;
status = "disabled";
phandle = <0x0000002f>;
};
i2c@7e804000 {
compatible = "brcm,bcm2708-i2c";
reg = <0x7e804000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000006>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x00000012>;
clock-frequency = <0x000186a0>;
phandle = <0x0000001f>;
};
i2c@7e805000 {
compatible = "brcm,bcm2708-i2c";
reg = <0x7e805000 0x00000112>;
interrupts = <0x00000002 0x000000d3>;
clocks = <0x00000006>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
status = "disabled";
clock-frequency = <0x000186a0>;
phandle = <0x00000020>;
};
smi@7e600000 {
compatible = "brcm,bcm2835-smi";
reg = <0x7e600000 0x00000003 0x00000010 0x00000006>;
interrupts = <0x00000002 0x00000288>;
brcm,smi-clock-source = <0x00000006>;
brcm,smi-clock-divisor = <0x00000004>;
dmas = <0x00000007 0x000001d9>;
dma-names = "rx-tx";
status = "disabled";
phandle = <0x00000030>;
};
usb@7e980000 {
compatible = "brcm,bcm2708-usb";
reg = <0x7e980000 0x00000003 0x00000000 0x00000004>;
interrupts = <0x00000002 0x00000003 0x00000002 0x00000000>;
phandle = <0x00000031>;
};
firmware {
compatible = "raspberrypi,bcm2835-firmware";
mboxes = <0x00000013>;
phandle = <0x00000014>;
};
power {
compatible = "raspberrypi,bcm2835-power";
firmware = <0x00000014>;
#power-domain-cells = <0x00000001>;
phandle = <0x00000032>;
};
leds {
compatible = "gpio-leds";
phandle = <0x00000033>;
act {
label = "led0";
linux,default-trigger = "mmc0";
gpios = <0x0000000a 0x00000004 0x00000001>;
phandle = <0x00000021>;
};
pwr {
label = "led1";
linux,default-trigger = "input";
gpios = <0x0000000a 0x00000004 0x00000002>;
phandle = <0x00000022>;
};
};
fb {
compatible = "brcm,bcm2708-fb";
firmware = <0x00000014>;
status = "okay";
phandle = <0x00000034>;
};
vchiq {
compatible = "brcm,bcm2835-vchiq";
reg = <0x7e00b840 0x00000112>;
interrupts = <0x00000000 0x000002f5>;
cache-line-size = <0x00000040>;
firmware = <0x00000014>;
phandle = <0x00000015>;
};
thermal {
compatible = "brcm,bcm2835-thermal";
firmware = <0x00000014>;
phandle = <0x00000035>;
};
local_intc {
compatible = "brcm,bcm2836-l1-intc";
reg = <0x40000000 0x0000013e>;
interrupt-controller;
#interrupt-cells = <0x00000001>;
interrupt-parent = <0x00000002>;
phandle = <0x00000002>;
};
arm-pmu {
compatible = "arm,cortex-a7-pmu";
interrupt-parent = <0x00000002>;
interrupts = <0x00000009>;
};
gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x000000fc>;
status = "okay";
};
timer {
compatible = "arm,armv7-timer";
clock-frequency = <0x0124f800>;
interrupt-parent = <0x00000002>;
interrupts = <0x00000000 0x00000003 0x00000001 0x30303000>;
always-on;
};
syscon@40000000 {
compatible = "brcm,bcm2836-arm-local", "syscon";
reg = <0x40000000 0x00000001>;
};
};
clocks {
compatible = "simple-bus";
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
phandle = <0x00000036>;
clock@0 {
compatible = "fixed-clock";
reg = <0x00000000>;
#clock-cells = <0x00000000>;
clock-output-names = "core";
clock-frequency = <0x0ee6b280>;
phandle = <0x00000006>;
};
clock@1 {
compatible = "fixed-clock";
reg = <0x00000001>;
#clock-cells = <0x00000000>;
clock-output-names = "mmc";
clock-frequency = <0x0ee6b280>;
phandle = <0x00000011>;
};
clock@2 {
compatible = "fixed-clock";
reg = <0x00000002>;
#clock-cells = <0x00000000>;
clock-output-names = "uart0_pclk";
clock-frequency = <0x002dc6c0>;
phandle = <0x00000004>;
};
clock@3 {
compatible = "fixed-clock";
reg = <0x00000003>;
#clock-cells = <0x00000000>;
clock-output-names = "apb_pclk";
clock-frequency = <0x07829b80>;
phandle = <0x00000005>;
};
clock@4 {
compatible = "fixed-clock";
reg = <0x00000004>;
#clock-cells = <0x00000000>;
clock-output-names = "pwm";
clock-frequency = <0x05f5e100>;
phandle = <0x0000000e>;
};
clock@5 {
compatible = "fixed-factor-clock";
reg = <0x00000005>;
clocks = <0x00000006>;
#clock-cells = <0x00000000>;
clock-div = <0x00000001>;
clock-mult = <0x00000002>;
phandle = <0x0000000f>;
};
clock@6 {
compatible = "fixed-clock";
reg = <0x00000006>;
#clock-cells = <0x00000000>;
clock-output-names = "osc";
clock-frequency = <0x0124f800>;
phandle = <0x00000003>;
};
};
__overrides__ {
i2c_arm_baudrate = [00 00 00 1f 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c_baudrate = [00 00 00 1f 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c_arm = [00 00 00 1f 73 74 61 74 75 73 00];
i2c = [00 00 00 1f 73 74 61 74 75 73 00];
i2c_vc_baudrate = [00 00 00 1e 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c_vc = [00 00 00 1e 73 74 61 74 75 73 00];
cache_line_size = [00 00 00 15 63 61 63 68 65 2d 6c 69 6e 65 2d 73 69 7a 65 3a 30 00];
arm_freq = <0x00000016 0x6e63793a 0x66726571 0x636c6f63 0x30000000 0x75656e63 0x00000080 0x00000003 0x636c6f63 0x30000000 0x0000001b 0x0000000b 0x75730000 0x0000001d 0x0000000b 0x75730000 0x0000001f 0x0000000b 0x75730000 0x0000001e 0x6e63793a 0x00000386>;
uart0 = [00 00 00 1a 73 74 61 74 75 73 00];
uart0_clkrate = [00 00 00 04 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
uart1 = [00 00 00 1b 73 74 61 74 75 73 00];
i2s = [00 00 00 1c 73 74 61 74 75 73 00];
spi = [00 00 00 1d 73 74 61 74 75 73 00];
i2c0 = [00 00 00 1e 73 74 61 74 75 73 00];
i2c1 = [00 00 00 1f 73 74 61 74 75 73 00];
i2c2_iknowwhatimdoing = [00 00 00 20 73 74 61 74 75 73 00];
i2c0_baudrate = [00 00 00 1e 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c1_baudrate = [00 00 00 1f 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c2_baudrate = [00 00 00 20 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
core_freq = [00 00 00 06 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
act_led_gpio = <0x00000021 0x0000000c 0x733a3800>;
act_led_activelow = <0x00000021 0x0000001a 0x782c6465>;
act_led_trigger = [00 00 00 21 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
pwr_led_gpio = <0x00000022 0x0000000c 0x733a3800>;
pwr_led_activelow = <0x00000022 0x0000001a 0x782c6465>;
pwr_led_trigger = [00 00 00 22 6c 69 6e 75 78 2c 64 65 66 61 75 6c 74 2d 74 72 69 67 67 65 72 00];
audio = [00 00 00 23 73 74 61 74 75 73 00];
watchdog = [00 00 00 24 73 74 61 74 75 73 00];
random = [00 00 00 25 73 74 61 74 75 73 00];
sd_overclock = <0x00000026 0x636b2d35 0x00000417 0x63652d70 0x00000424 0x2d6c696d>;
sd_force_pio = <0x00000026 0x696f3f00 0x00000026 0x69743a30 0x00000431>;
sd_pio_limit = [00 00 00 26 62 72 63 6d 2c 70 69 6f 2d 6c 69 6d 69 74 3a 30 00];
sd_debug = [00 00 00 26 62 72 63 6d 2c 64 65 62 75 67 00];
};
cpus {
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
phandle = <0x00000037>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00000f00>;
clock-frequency = <0x35a4e900>;
phandle = <0x00000016>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00000f01>;
clock-frequency = <0x35a4e900>;
phandle = <0x00000017>;
};
cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00000f02>;
clock-frequency = <0x35a4e900>;
phandle = <0x00000018>;
};
cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00000f03>;
clock-frequency = <0x35a4e900>;
phandle = <0x00000019>;
};
};
__symbols__ {
i2c_arm = "/soc/i2c@7e804000";
i2c = "/soc/i2c@7e804000";
i2c_vc = "/soc/i2c@7e205000";
audio = "/audio";
sound = "/sound";
soc = "/soc";
dma = "/soc/dma@7e007000";
intc = "/soc/interrupt-controller@7e00b200";
mailbox = "/soc/mailbox@7e00b800";
watchdog = "/soc/watchdog@7e100000";
cprman = "/soc/cprman@7e101000";
random = "/soc/rng@7e104000";
gpio = "/soc/gpio@7e200000";
sdhost_pins = "/soc/gpio@7e200000/sdhost_pins";
spi0_pins = "/soc/gpio@7e200000/spi0_pins";
spi0_cs_pins = "/soc/gpio@7e200000/spi0_cs_pins";
i2c0_pins = "/soc/gpio@7e200000/i2c0";
i2c1_pins = "/soc/gpio@7e200000/i2c1";
i2s_pins = "/soc/gpio@7e200000/i2s";
uart0 = "/soc/uart@7e201000";
sdhost = "/soc/sdhost@7e202000";
i2s = "/soc/i2s@7e203000";
spi0 = "/soc/spi@7e204000";
spidev0 = "/soc/spi@7e204000/spidev@0";
spidev1 = "/soc/spi@7e204000/spidev@1";
i2c0 = "/soc/i2c@7e205000";
pwm = "/soc/pwm@7e20c000";
aux = "/soc/aux@0x7e215004";
uart1 = "/soc/uart@7e215040";
spi1 = "/soc/spi@7e215080";
spi2 = "/soc/spi@7e2150C0";
mmc = "/soc/mmc@7e300000";
i2c1 = "/soc/i2c@7e804000";
i2c2 = "/soc/i2c@7e805000";
smi = "/soc/smi@7e600000";
usb = "/soc/usb@7e980000";
firmware = "/soc/firmware";
power = "/soc/power";
leds = "/soc/leds";
act_led = "/soc/leds/act";
pwr_led = "/soc/leds/pwr";
fb = "/soc/fb";
vchiq = "/soc/vchiq";
thermal = "/soc/thermal";
local_intc = "/soc/local_intc";
clocks = "/clocks";
clk_core = "/clocks/clock@0";
clk_mmc = "/clocks/clock@1";
clk_uart0 = "/clocks/clock@2";
clk_apb_p = "/clocks/clock@3";
clk_pwm = "/clocks/clock@4";
clk_uart1 = "/clocks/clock@5";
clk_osc = "/clocks/clock@6";
cpus = "/cpus";
v7_cpu0 = "/cpus/cpu@0";
v7_cpu1 = "/cpus/cpu@1";
v7_cpu2 = "/cpus/cpu@2";
v7_cpu3 = "/cpus/cpu@3";
};
};
/sys/class/sound:
total 0
drwxr-xr-x 6 root root 0 May 12 19:01 card0
drwxr-xr-x 3 root root 0 May 12 19:01 controlC0
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D0p
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D1p
drwxr-xr-x 3 root root 0 May 12 19:01 timer
/sys/class/sound/card0:
total 0
drwxr-xr-x 3 root root 0 May 12 19:01 controlC0
-rw-r--r-- 1 root root 4096 May 12 19:01 id
-r--r--r-- 1 root root 4096 May 12 19:01 number
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D0p
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D1p
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 01:17 uevent
/sys/class/sound/card0/controlC0:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/card0/controlC0/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/card0/pcmC0D0p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/card0/pcmC0D0p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/card0/pcmC0D1p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/card0/pcmC0D1p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/card0/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/controlC0:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/controlC0/device:
total 0
drwxr-xr-x 3 root root 0 May 12 19:01 controlC0
-rw-r--r-- 1 root root 4096 May 12 19:01 id
-r--r--r-- 1 root root 4096 May 12 19:01 number
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D0p
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D1p
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 01:17 uevent
/sys/class/sound/controlC0/device/pcmC0D0p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/controlC0/device/pcmC0D0p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/controlC0/device/pcmC0D1p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/controlC0/device/pcmC0D1p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/controlC0/device/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/controlC0/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D0p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D0p/device:
total 0
drwxr-xr-x 3 root root 0 May 12 19:01 controlC0
-rw-r--r-- 1 root root 4096 May 12 19:01 id
-r--r--r-- 1 root root 4096 May 12 19:01 number
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D0p
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D1p
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 01:17 uevent
/sys/class/sound/pcmC0D0p/device/controlC0:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D0p/device/controlC0/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D0p/device/pcmC0D1p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D0p/device/pcmC0D1p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D0p/device/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D0p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D1p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D1p/device:
total 0
drwxr-xr-x 3 root root 0 May 12 19:01 controlC0
-rw-r--r-- 1 root root 4096 May 12 19:01 id
-r--r--r-- 1 root root 4096 May 12 19:01 number
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D0p
drwxr-xr-x 3 root root 0 May 12 19:01 pcmC0D1p
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 01:17 uevent
/sys/class/sound/pcmC0D1p/device/controlC0:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D1p/device/controlC0/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D1p/device/pcmC0D0p:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 6 root root 0 May 12 19:01 device
-r--r--r-- 1 root root 4096 May 12 19:01 pcm_class
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/pcmC0D1p/device/pcmC0D0p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D1p/device/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/pcmC0D1p/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
/sys/class/sound/timer:
total 0
-r--r--r-- 1 root root 4096 May 12 19:01 dev
drwxr-xr-x 2 root root 0 May 12 19:01 power
drwxr-xr-x 2 root root 0 May 12 19:01 subsystem
-rw-r--r-- 1 root root 4096 May 12 19:01 uevent
/sys/class/sound/timer/power:
total 0
-rw-r--r-- 1 root root 4096 May 12 19:01 autosuspend_delay_ms
-rw-r--r-- 1 root root 4096 May 12 19:01 control
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_active_time
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_status
-r--r--r-- 1 root root 4096 May 12 19:01 runtime_suspended_time
@jayeye
Copy link
Author

jayeye commented May 12, 2016

Additional information for http://raspberrypi.stackexchange.com/questions/46959/i2s-microphones-on-pi-2-and-3,
so I don't increase the clutter on the thread. More will be added as appropriate.

I'm including the output of:

fdtdump /sys/firmware/fdt
ls -lLR /sys/class/sound

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment