aboutsummaryrefslogtreecommitdiff
path: root/hdata/test
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-11-12 13:33:08 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-03-08 18:18:28 +1100
commit5cda6f6de5af22b7602901584b6eeca099e50b20 (patch)
treecd50d95ca6833049a896bf557cbb29f6c1b7e015 /hdata/test
parent5326c45da779e6fca849a0b17f6fe61b25e528b7 (diff)
downloadskiboot-5cda6f6de5af22b7602901584b6eeca099e50b20.zip
skiboot-5cda6f6de5af22b7602901584b6eeca099e50b20.tar.gz
skiboot-5cda6f6de5af22b7602901584b6eeca099e50b20.tar.bz2
platforms/firenze: Fix I2C clock source frequency
The I2C master clock source frequency is hardcoded to wrong value. The correct frequency should be the nest clock frequency divided by 16 as Ben said. This fixes I2C master source frequency with the help of additional properties "nest-frequency" and "bus-frequency" to root and xscom device node separately. Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [stewart@linux.vnet.ibm.com: fixup hdata test for added property] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/p81-811.spira.dt1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/p81-811.spira.dt b/hdata/test/p81-811.spira.dt
index f6758de..068152c 100644
--- a/hdata/test/p81-811.spira.dt
+++ b/hdata/test/p81-811.spira.dt
@@ -90,6 +90,7 @@ prop: #address-cells size: 4 val: 00000002
prop: #size-cells size: 4 val: 00000002
prop: lid-type size: 5 val: 7068797000
prop: compatible size: 24 val: 69626d2c706f7765726e760069626d2c666972656e7a6500
+prop: nest-frquency size: 8 val: 0000000077359400
prop: skiboot,maxmem size: 8 val: 8000001fffffffff
prop: model size: 9 val: 383234372d32324c00
prop: model-name size: 23 val: 49424d20506f7765722053797374656d20533832324c00