ODROID-C3: arm64/dts: Add android firmware & fstab infos.

- Add android dts.

Change-Id: I0cddcd443735e82ca0b58fb9f696ab2e21e5fa00
This commit is contained in:
Luke Go
2018-06-11 10:05:31 +09:00
committed by Chris KIM
parent 914cbd827e
commit 80b9ade1bb

View File

@@ -0,0 +1,55 @@
/*
* arch/arm64/boot/dts/amlogic/s905d2_odroidc3_android.dts
*
* Copyright (C) 2018 Hardkernel Co., Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*/
#include "s905d2_odroidc3.dts"
/ {
firmware {
android {
compatible = "android,firmware";
vbmeta {
compatible = "android,vbmeta";
parts = "boot,system,vendor";
by_name_prefix="/dev/block";
};
fstab {
compatible = "android,fstab";
system {
compatible = "android,system";
dev = "/dev/block/system";
type = "ext4";
mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
vendor {
compatible = "android,vendor";
dev = "/dev/block/vendor";
type = "ext4";
mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
odm {
compatible = "android,odm";
dev = "/dev/block/odm";
type = "ext4";
mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
fsmgr_flags = "wait";
};
};
};
};
};