mirror of
https://github.com/jclehner/bcm3390.git
synced 2025-01-31 00:31:35 +00:00
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
model = "Broadcom CM (bcm93390<b|z>0-vcms-batt)";
|
|
compatible = "brcm,bcm93390b0-vcms-batt", "brcm,bcm93390z0-vcms-batt",
|
|
"brcm,bcm3390b0-batt", "brcm,bcm3390z0-batt",
|
|
"brcm,bcm3390-batt",
|
|
"brcm,bcm3390",
|
|
"brcm,brcmcm", "brcm,brcmstb";
|
|
subsystem = "rg";
|
|
#address-cells = <0x2>;
|
|
#size-cells = <0x2>;
|
|
interrupt-parent = <&gic>;
|
|
|
|
identifier@0 {
|
|
/* BMU mbox0: */
|
|
/* chip id mfg id on battery */
|
|
chipid_reg = < 0x20404000 0x204e6120 0x03800080 >;
|
|
chipid_msk = < 0xffffffff 0x0000e000 0x00000008 >;
|
|
chipid_val = < 0x33900010 0x0000c000 0x00000008 >;
|
|
/*
|
|
* Only boards supporting battery. Can't rely on
|
|
* BMU's mbox0 power state on non-battery boards.
|
|
*/
|
|
/* VCMS */
|
|
boardid_msk = < 0xff >;
|
|
boardid_val = < 0x82 >;
|
|
};
|
|
|
|
identifier@1 {
|
|
/* BMU mbox0: */
|
|
/* chip id mfg id on battery */
|
|
chipid_reg = < 0x20404000 0x204e6120 0x03800080 >;
|
|
chipid_msk = < 0xffffffff 0x0000f000 0x00000008 >;
|
|
chipid_val = < 0x33900060 0x0000a000 0x00000008 >;
|
|
/*
|
|
* Only boards supporting battery. Can't rely on
|
|
* BMU's mbox0 power state on non-battery boards.
|
|
*/
|
|
/* VCMS */
|
|
boardid_msk = < 0xff >;
|
|
boardid_val = < 0x82 >;
|
|
};
|
|
|
|
identifier@2 {
|
|
/* BMU mbox0: */
|
|
/* chip id mfg id on battery */
|
|
chipid_reg = < 0x20404000 0x204e6120 0x03800080 >;
|
|
chipid_msk = < 0xffffffff 0x0000f000 0x00000008 >;
|
|
chipid_val = < 0x33900010 0x00008000 0x00000008 >;
|
|
/*
|
|
* Only boards supporting battery. Can't rely on
|
|
* BMU's mbox0 power state on non-battery boards.
|
|
*/
|
|
/* VCMS */
|
|
boardid_msk = < 0xff >;
|
|
boardid_val = < 0x82 >;
|
|
};
|
|
};
|
|
|
|
/include/ "rg.3390b0-bolt.dtsi"
|
|
/include/ "rg.3390-base.dtsi"
|
|
/include/ "rg.3390-xcms.dtsi"
|
|
/include/ "rg.3390-batt.dtsi"
|
|
|
|
/********************************************************************
|
|
* any nodes that appear below are platform specific additions and
|
|
* replacements.
|
|
* The dtc will add or replace any properties in the nodes
|
|
* below to the same nodes that appear in include files above.
|
|
* If the property does not exist in the node above it will be added.
|
|
* If the property does exist it will replace it.
|
|
********************************************************************/
|
|
|
|
&pwr {
|
|
boot-state = "battery";
|
|
};
|
|
|
|
/ {
|
|
chosen {
|
|
filename = "rg.3390-batt-vcms.dtb";
|
|
};
|
|
};
|