Commit 20806e74 authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: Update device tree 'reg' properties for I2C and SPI



We should have a size value for these. Add one in each case. This will
be needed for PCI.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 51e9dad2
......@@ -2,7 +2,7 @@
/ {
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <1>;
chosen {
stdout-path = "/serial";
......@@ -144,7 +144,7 @@
i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
reg = <0 0>;
compatible = "sandbox,i2c";
clock-frequency = <400000>;
eeprom@2c {
......@@ -161,7 +161,7 @@
spi@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
reg = <0 0>;
compatible = "sandbox,spi";
cs-gpios = <0>, <&gpio_a 0>;
flash@0 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment