2 * Dynamic sysbus device tree node generation API
4 * Copyright Linaro Limited, 2014
7 * Alex Graf <agraf@suse.de>
8 * Eric Auger <eric.auger@linaro.org>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms and conditions of the GNU General Public License,
12 * version 2 or later, as published by the Free Software Foundation.
14 * This program is distributed in the hope it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 * You should have received a copy of the GNU General Public License along with
20 * this program. If not, see <http://www.gnu.org/licenses/>.
24 #ifndef HW_ARM_SYSBUS_FDT_H
25 #define HW_ARM_SYSBUS_FDT_H
27 #include "exec/hwaddr.h"
30 * platform_bus_add_all_fdt_nodes - create all the platform bus nodes
32 * builds the parent platform bus node and all the nodes of dynamic
33 * sysbus devices attached to it.
35 void platform_bus_add_all_fdt_nodes(void *fdt
, const char *intc
, hwaddr addr
,
36 hwaddr bus_size
, int irq_start
);