forked from Qortal/Brooklyn
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
|
// Definitions for HiFiBerry AMP100
|
||
|
/dts-v1/;
|
||
|
/plugin/;
|
||
|
|
||
|
/ {
|
||
|
compatible = "brcm,bcm2835";
|
||
|
|
||
|
fragment@0 {
|
||
|
target-path = "/";
|
||
|
__overlay__ {
|
||
|
dacpro_osc: dacpro_osc {
|
||
|
compatible = "hifiberry,dacpro-clk";
|
||
|
#clock-cells = <0>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
fragment@1 {
|
||
|
target = <&i2s>;
|
||
|
__overlay__ {
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
fragment@2 {
|
||
|
target = <&i2c1>;
|
||
|
__overlay__ {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
status = "okay";
|
||
|
|
||
|
pcm5122@4d {
|
||
|
#sound-dai-cells = <0>;
|
||
|
compatible = "ti,pcm5122";
|
||
|
reg = <0x4d>;
|
||
|
clocks = <&dacpro_osc>;
|
||
|
AVDD-supply = <&vdd_3v3_reg>;
|
||
|
DVDD-supply = <&vdd_3v3_reg>;
|
||
|
CPVDD-supply = <&vdd_3v3_reg>;
|
||
|
status = "okay";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
fragment@3 {
|
||
|
target = <&sound>;
|
||
|
hifiberry_dacplus: __overlay__ {
|
||
|
compatible = "hifiberry,hifiberry-dacplus";
|
||
|
i2s-controller = <&i2s>;
|
||
|
status = "okay";
|
||
|
mute-gpio = <&gpio 4 0>;
|
||
|
reset-gpio = <&gpio 17 0x11>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
__overrides__ {
|
||
|
24db_digital_gain =
|
||
|
<&hifiberry_dacplus>,"hifiberry,24db_digital_gain?";
|
||
|
slave = <&hifiberry_dacplus>,"hifiberry-dacplus,slave?";
|
||
|
leds_off = <&hifiberry_dacplus>,"hifiberry-dacplus,leds_off?";
|
||
|
mute_ext_ctl = <&hifiberry_dacplus>,"hifiberry-dacplus,mute_ext_ctl:0";
|
||
|
auto_mute = <&hifiberry_dacplus>,"hifiberry-dacplus,auto_mute?";
|
||
|
};
|
||
|
};
|